From 8975dde0045f9b92c6eaa90a0c381b2baf9e3bd3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 22 Jan 2004 10:12:26 +0000 Subject: Fix for debian Bug#225328 by LaMont Jones , where the failure of our LFS test caused the _GNU_SOURCE define not to be added, causeing strndup() not to be defined... I'll into when we really should define _GNU_SOURCE shortly, but the fix is correct anyway. Andrew Bartlett (This used to be commit aca07f33a2f3cca48b44ac92d3b1b35592ffadc7) --- source3/configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/configure.in b/source3/configure.in index 1f56efe7a6..42c4f5c74b 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -493,6 +493,8 @@ exit(1); AC_TRY_RUN([ #include #include +#include +#include main() { #if _LFS64_LARGEFILE == 1 struct utsname uts; -- cgit