aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index ebb48f508..bbac937c1 100644
--- a/config.h.in
+++ b/config.h.in
@@ -121,6 +121,9 @@
#cmakedefine BUILD_STATIC 1
+#cmakedefine HAVE_SENDFILE 1
+#cmakedefine HAVE_SYS_SENDFILE_H 1
+
#define RVERSION "${RSPAMD_VERSION}"
#define RSPAMD_MASTER_SITE_URL "${RSPAMD_MASTER_SITE_URL}"
@@ -294,6 +297,10 @@
#define HAVE_SETLOCALE 1
#endif
+#ifdef HAVE_SYS_SENDFILE_H
+#include <sys/sendfile.h>
+#endif
+
#ifdef WITH_GPERF_TOOLS
#include <google/profiler.h>
#endif