OSX (now) needs signal.h for sigaction

pull/90/head
Nils Maier 2013-05-17 01:39:38 +02:00
parent 0adc4b795e
commit b7ef53b13d
1 changed files with 3 additions and 4 deletions

View File

@ -42,11 +42,10 @@
#else // !__sun
#ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h>
#else // HAVE_SYS_SIGNAL_H
# ifdef HAVE_SIGNAL_H
# include <signal.h>
# endif // HAVE_SIGNAL_H
#endif // HAVE_SYS_SIGNAL_H
#ifdef HAVE_SIGNAL_H
# include <signal.h>
#endif // HAVE_SIGNAL_H
#endif // !__sun
#include <sys/types.h>