summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-10 15:48:08 -0700
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-10 15:48:08 -0700
commita9fba6f528239db087328a34f4a72b6ba8ee0488 (patch)
tree1c8e942bc8f3f7ca55eda034968fc44dda01c43c /src/util.c
parentaaf01eb861224c6d56c6311fd3d6a9072c7df132 (diff)
downloadrspamd-a9fba6f528239db087328a34f4a72b6ba8ee0488.tar.gz
rspamd-a9fba6f528239db087328a34f4a72b6ba8ee0488.zip
Move some rarely used includes from config.h
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index 2acf58845..3db6a3fe1 100644
--- a/src/util.c
+++ b/src/util.c
@@ -36,6 +36,13 @@
#include <openssl/err.h>
#endif
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+#endif
+#ifdef HAVE_READPASSPHRASE_H
+#include <readpassphrase.h>
+#endif
+
/* Check log messages intensity once per minute */
#define CHECK_TIME 60
/* More than 2 log messages per second */