From ea801d6520287fed76c3aa3a3d1a729f649baa16 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 25 Sep 2005 00:13:25 +0000 Subject: r10484: try to fix the pread/pwrite declaration problems (This used to be commit 196995ea38414ce5a57031c4cdf61b3ed548196a) --- source4/lib/tdb/config.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/tdb/config.m4') 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 ]) AC_HAVE_DECL(pwrite, [#include ]) -- cgit