summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-01-16 17:36:22 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-01-16 17:36:22 +0400
commit9f2cb66ccbce8cd0fb659b79063bcebf1d816a1d (patch)
treefc6f0f935118993c2984c9322af7b2c0a32d50e3 /config.h.in
parent5fb57a17d533f87d2f14cd797b05680dca93b82b (diff)
downloadrspamd-9f2cb66ccbce8cd0fb659b79063bcebf1d816a1d.tar.gz
rspamd-9f2cb66ccbce8cd0fb659b79063bcebf1d816a1d.zip
* Add AIO framework for linux io(3) interface.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index aeefa9b0a..8eedae5c0 100644
--- a/config.h.in
+++ b/config.h.in
@@ -175,6 +175,9 @@
#cmakedefine HAVE_SENDFILE 1
#cmakedefine HAVE_SYS_SENDFILE_H 1
+#cmakedefine HAVE_SYS_EVENTFD_H 1
+#cmakedefine HAVE_AIO_H 1
+#cmakedefine HAVE_LIBAIO_H 1
#cmakedefine HAVE_MKSTEMP 1
@@ -378,6 +381,14 @@
#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