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 --> */
|
/* copyright --> */
|
||||||
#include "DownloadEngine.h"
|
#include "DownloadEngine.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SIGNAL_H
|
||||||
|
# include <sys/signal.h>
|
||||||
|
#else // HAVE_SYS_SIGNAL_H
|
||||||
|
# ifdef HAVE_SIGNAL_H
|
||||||
# include <signal.h>
|
# include <signal.h>
|
||||||
|
# endif // HAVE_SIGNAL_H
|
||||||
|
#endif // HAVE_SYS_SIGNAL_H
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
|
|
@ -34,7 +34,13 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "MultiUrlRequestInfo.h"
|
#include "MultiUrlRequestInfo.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SIGNAL_H
|
||||||
|
# include <sys/signal.h>
|
||||||
|
#else // HAVE_SYS_SIGNAL_H
|
||||||
|
# ifdef HAVE_SIGNAL_H
|
||||||
# include <signal.h>
|
# include <signal.h>
|
||||||
|
# endif // HAVE_SIGNAL_H
|
||||||
|
#endif // HAVE_SYS_SIGNAL_H
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
|
@ -34,7 +34,13 @@
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_SIGNAL_H
|
||||||
|
# include <sys/signal.h>
|
||||||
|
#else // HAVE_SYS_SIGNAL_H
|
||||||
|
# ifdef HAVE_SIGNAL_H
|
||||||
# include <signal.h>
|
# include <signal.h>
|
||||||
|
# endif // HAVE_SIGNAL_H
|
||||||
|
#endif // HAVE_SYS_SIGNAL_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue