summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-17 15:04:24 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-17 15:04:24 +0300
commit2300ff734633aa85f5ef52d6310c7253ecc5b4bc (patch)
treeae67f35413ceb82257304fefbe08c3f74bbb518f /config.h.in
parent0fd2682e113c400af6c43da72543bd75448e5be8 (diff)
downloadrspamd-2300ff734633aa85f5ef52d6310c7253ecc5b4bc.tar.gz
rspamd-2300ff734633aa85f5ef52d6310c7253ecc5b4bc.zip
* Add issue to cmake to make perl module as well
* Fix some portability issues (to FreeBSD mainly) * Add script to make modules list
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in28
1 files changed, 27 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index a594e2109..04dd043d9 100644
--- a/config.h.in
+++ b/config.h.in
@@ -35,14 +35,22 @@
#cmakedefine HAVE_SYSLOG_H 1
+#cmakedefine HAVE_LIBUTIL_H 1
+
#cmakedefine HAVE_ENDIAN_H 1
#cmakedefine HAVE_SYS_ENDIAN_H 1
#cmakedefine HAVE_MACHINE_ENDIAN_H 1
+#cmakedefine HAVE_SYS_CDEFS_H 1
#cmakedefine HAVE_SYS_QUEUE_H 1
#cmakedefine HAVE_SYS_MMAN_H 1
#cmakedefine HAVE_SYS_SOCKET_H 1
#cmakedefine HAVE_SYS_UN_H 1
+#cmakedefine HAVE_SYS_STAT_H 1
+#cmakedefine HAVE_SYS_WAIT_H 1
+#cmakedefine HAVE_SYS_PARAM_H 1
+
+#cmakedefine HAVE_PIDFILE 1
#cmakedefine HAVE_SETPROCTITLE 1
@@ -58,7 +66,7 @@
#cmakedefine HAVE_MMAP_ANON 1
-#cmakedefine HAVE_OWN_QUEUE_H 1
+#cmakedefine HAVE_COMPATIBLE_QUEUE_H 1
#cmakedefine HAVE_SC_NPROCESSORS_ONLN 1
@@ -74,6 +82,16 @@
#include <sys/types.h>
#endif
+/* cdefs */
+#ifdef HAVE_SYS_CDEFS_H
+#include <sys/cdefs.h>
+#endif
+
+/* sys/param */
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
/* stdint */
#ifdef HAVE_STDINT_H
#include <stdint.h>
@@ -164,6 +182,11 @@
#include <sys/stat.h>
#endif
+/* sys/wait */
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
/* math */
#ifdef HAVE_MATH_H
#include <math.h>
@@ -181,7 +204,10 @@
#include <signal.h>
#include <event.h>
#include <glib.h>
+
+#ifndef NO_GMIME
#include <gmime/gmime.h>
+#endif
/* Forwarded declaration */
struct module_ctx;