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: private:
sighandler_t m_old_sighup; using SigHandler = void (*)(int);
sighandler_t m_old_sigtstp; SigHandler m_old_sighup;
SigHandler m_old_sigtstp;
}; };
if (not isatty(1)) if (not isatty(1))