summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-05-17 21:19:42 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-05-17 21:19:42 +0900
commit7ac096c3c0d40de0bde4731bb729e7facfa6ae97 (patch)
treea6bec52d6e475b46e3c309c3f7f77bf12445b6da /src
parent51ddcaf5b16ae39db18c5d4b840ee5ab43ab6b2f (diff)
parentb7ef53b13de72dd5a149a7f84f060d391db97b9d (diff)
Merge branch 'signals-again' of https://github.com/nmaier/aria2 into nmaier-signals-again
Diffstat (limited to 'src')
-rw-r--r--src/util.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/util.cc b/src/util.cc
index 9954580d..3d2a50f6 100644
--- a/src/util.cc
+++ b/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>