Fix OSX compilation

This commit is contained in:
Maxime Coste 2015-10-09 13:41:28 +01:00
parent 0d8b9c6677
commit a4447819e5

View File

@ -334,8 +334,9 @@ std::unique_ptr<UserInterface> create_local_ui(bool dummy_ui)
}
private:
sighandler_t m_old_sighup;
sighandler_t m_old_sigtstp;
using SigHandler = void (*)(int);
SigHandler m_old_sighup;
SigHandler m_old_sigtstp;
};
if (not isatty(1))