summaryrefslogtreecommitdiffstats
path: root/source/configure.in
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
commitaca07f33a2f3cca48b44ac92d3b1b35592ffadc7 (patch)
tree5276bd814f0f754c5edcf397dcf67c2679b585ae /source/configure.in
parentb5e814294eb3ce44131084d89014cb8a8840fe74 (diff)
downloadsamba-aca07f33a2f3cca48b44ac92d3b1b35592ffadc7.tar.gz
samba-aca07f33a2f3cca48b44ac92d3b1b35592ffadc7.tar.xz
samba-aca07f33a2f3cca48b44ac92d3b1b35592ffadc7.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
Diffstat (limited to 'source/configure.in')
-rw-r--r--source/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in
index 1f56efe7a6a..42c4f5c74bd 100644
--- a/source/configure.in
+++ b/source/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;