summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-22 10:12:26 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-22 10:12:26 +0000
commit8975dde0045f9b92c6eaa90a0c381b2baf9e3bd3 (patch)
treec8e9da9c7af1ff5e6d67fe0de25097148c91be18
parentfc33274a27b98d67a3f1172aebc9e70073b6dcab (diff)
downloadsamba-8975dde0045f9b92c6eaa90a0c381b2baf9e3bd3.tar.gz
samba-8975dde0045f9b92c6eaa90a0c381b2baf9e3bd3.tar.bz2
samba-8975dde0045f9b92c6eaa90a0c381b2baf9e3bd3.zip
Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, 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)
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
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 <unistd.h>
#include <sys/utsname.h>
+#include <string.h>
+#include <stdlib.h>
main() {
#if _LFS64_LARGEFILE == 1
struct utsname uts;