@@ -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>
#include "MultiUrlRequestInfo.h"
#include <ostream>
#include "common.h"
#include <unistd.h>
#include <getopt.h>