Explorar o código

Revert 6b55f5d3 because it breaks opensolaris build

Tatsuhiro Tsujikawa %!s(int64=12) %!d(string=hai) anos
pai
achega
0741a14486
Modificáronse 2 ficheiros con 2 adicións e 14 borrados
  1. 1 7
      src/MultiUrlRequestInfo.cc
  2. 1 7
      src/main.cc

+ 1 - 7
src/MultiUrlRequestInfo.cc

@@ -34,13 +34,7 @@
 /* copyright --> */
 #include "MultiUrlRequestInfo.h"
 
-#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
+#include <signal.h>
 
 #include <cstring>
 #include <ostream>

+ 1 - 7
src/main.cc

@@ -34,13 +34,7 @@
 /* copyright --> */
 #include "common.h"
 
-#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
+#include <signal.h>
 #include <unistd.h>
 #include <getopt.h>