Explorar o código

OSX (now) needs signal.h for sigaction

Nils Maier %!s(int64=12) %!d(string=hai) anos
pai
achega
b7ef53b13d
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      src/util.cc

+ 3 - 4
src/util.cc

@@ -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>