mirror of https://github.com/aria2/aria2
Do changes in 8aa1db6
in other places which include signal.h
parent
7c66d1952a
commit
6b55f5d393
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue