diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-10 15:48:08 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-10 15:48:08 -0700 |
commit | a9fba6f528239db087328a34f4a72b6ba8ee0488 (patch) | |
tree | 1c8e942bc8f3f7ca55eda034968fc44dda01c43c /config.h.in | |
parent | aaf01eb861224c6d56c6311fd3d6a9072c7df132 (diff) | |
download | rspamd-a9fba6f528239db087328a34f4a72b6ba8ee0488.tar.gz rspamd-a9fba6f528239db087328a34f4a72b6ba8ee0488.zip |
Move some rarely used includes from config.h
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/config.h.in b/config.h.in index 1598f51e1..654d63476 100644 --- a/config.h.in +++ b/config.h.in @@ -328,6 +328,10 @@ #include <sys/timeb.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /* sysexits */ #ifdef HAVE_SYSEXITS_H #include <sysexits.h> @@ -416,45 +420,10 @@ #include <search.h> #endif -#ifdef HAVE_LOCALE_H -#include <locale.h> -#define HAVE_SETLOCALE 1 -#endif - -#ifdef HAVE_SYS_EVENTFD_H -#include <sys/eventfd.h> -#endif - -#ifdef HAVE_AIO_H -#include <aio.h> -#endif - -#ifdef HAVE_SYS_SENDFILE_H -#include <sys/sendfile.h> -#endif - #ifdef WITH_GPERF_TOOLS #include <google/profiler.h> #endif -#ifdef HAVE_FETCH_H -#include <fetch.h> -#elif defined(CURL_FOUND) -#include <curl/curl.h> -#endif - -#ifdef HAVE_READPASSPHRASE_H -#include <readpassphrase.h> -#endif - -#ifdef HAVE_TERMIOS_H -#include <termios.h> -#endif - -#ifdef HAVE_PATHS_H -#include <paths.h> -#endif - #include <errno.h> #include <signal.h> #ifdef HAVE_SIGINFO_H |