Do changes in 8aa1db6 in other places which include signal.h

pull/57/head
Tatsuhiro Tsujikawa 2013-03-03 13:41:03 +09:00
parent 7c66d1952a
commit 6b55f5d393
3 changed files with 21 additions and 3 deletions

View File

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

View File

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

View File

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