summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-03 16:09:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-03 16:09:58 +0100
commit275602c0ea1fd991403ec2e2fae62de9d71ad7f0 (patch)
treef9079ccfa75eeded2d9e48abe79b466caba26450 /config.h.in
parent5f82133789e2af4cb4f27644624dd5194a2b9887 (diff)
downloadrspamd-275602c0ea1fd991403ec2e2fae62de9d71ad7f0.tar.gz
rspamd-275602c0ea1fd991403ec2e2fae62de9d71ad7f0.zip
Fix dirent include.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 695b43856..da476a758 100644
--- a/config.h.in
+++ b/config.h.in
@@ -230,6 +230,7 @@
#cmakedefine HAVE_PCRE_JIT_FAST 1
#cmakedefine HAVE_GET_CPUID 1
#cmakedefine HAVE_CPUID_H 1
+#cmakedefine HAVE_DIRENT_H 1
/* Configure allocator */
#define uthash_malloc(sz) g_slice_alloc(sz)
@@ -447,6 +448,10 @@
#include <sched.h>
#endif
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
+
#include <errno.h>
#include <signal.h>
#ifdef HAVE_SIGINFO_H