aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-24 20:16:53 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-24 20:16:53 +0300
commit1cd34f5283bcf1d4973a351dc5235094608e3d2d (patch)
tree2d6185294cfea7c3c062c8d2123df96f5e02e1b0 /config.h.in
parent606128de4cb33a2727d6609df46ecf0c72006a73 (diff)
downloadrspamd-1cd34f5283bcf1d4973a351dc5235094608e3d2d.tar.gz
rspamd-1cd34f5283bcf1d4973a351dc5235094608e3d2d.zip
* Add initial LMTP support and LDA delivery to rspamd
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 04dd043d9..b77d31454 100644
--- a/config.h.in
+++ b/config.h.in
@@ -37,6 +37,8 @@
#cmakedefine HAVE_LIBUTIL_H 1
+#cmakedefine HAVE_LIBGEN_H 1
+
#cmakedefine HAVE_ENDIAN_H 1
#cmakedefine HAVE_SYS_ENDIAN_H 1
#cmakedefine HAVE_MACHINE_ENDIAN_H 1
@@ -192,14 +194,21 @@
#include <math.h>
#endif
+/* libutil */
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
#endif
+/* syslog */
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif
+#ifdef HAVE_LIBGEN_H
+#include <libgen.h>
+#define HAVE_DIRNAME 1
+#endif
+
#include <errno.h>
#include <signal.h>
#include <event.h>