mirror of https://github.com/aria2/aria2
OSX (now) needs signal.h for sigaction
parent
0adc4b795e
commit
b7ef53b13d
|
@ -42,11 +42,10 @@
|
||||||
#else // !__sun
|
#else // !__sun
|
||||||
#ifdef HAVE_SYS_SIGNAL_H
|
#ifdef HAVE_SYS_SIGNAL_H
|
||||||
# include <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
|
#endif // HAVE_SYS_SIGNAL_H
|
||||||
|
#ifdef HAVE_SIGNAL_H
|
||||||
|
# include <signal.h>
|
||||||
|
#endif // HAVE_SIGNAL_H
|
||||||
#endif // !__sun
|
#endif // !__sun
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
Loading…
Reference in New Issue