summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/config.m4')
-rw-r--r--source4/lib/tdb/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/tdb/config.m4 b/source4/lib/tdb/config.m4
index 52daf7a8ea..58fdc02eb9 100644
--- a/source4/lib/tdb/config.m4
+++ b/source4/lib/tdb/config.m4
@@ -1,6 +1,8 @@
AC_CHECK_FUNCS(mmap pread pwrite getpagesize)
AC_CHECK_HEADERS(getopt.h)
+AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
+
AC_HAVE_DECL(pread, [#include <unistd.h>])
AC_HAVE_DECL(pwrite, [#include <unistd.h>])