summaryrefslogtreecommitdiff
path: root/src/DownloadEngine.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-03-03 13:41:03 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-03-03 13:41:03 +0900
commit6b55f5d39399a33e911bb9e2907e0f9ba95a576d (patch)
tree81d291439f14ae8fe0467d8c3ee8403aa59ddbed /src/DownloadEngine.cc
parent7c66d1952af934d2563e829107e1e4985627d369 (diff)
Do changes in 8aa1db6 in other places which include signal.h
Diffstat (limited to 'src/DownloadEngine.cc')
-rw-r--r--src/DownloadEngine.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/DownloadEngine.cc b/src/DownloadEngine.cc
index 05478fe8..3eb85d50 100644
--- a/src/DownloadEngine.cc
+++ b/src/DownloadEngine.cc
@@ -34,7 +34,13 @@
/* copyright --> */
#include "DownloadEngine.h"
-#include <signal.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 <cstring>
#include <cerrno>