summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-29 12:39:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:15 -0500
commite572bbb94cb8a23d366647bcf584cc75029e8def (patch)
tree0e63adf94037542fc38f178e43f02bfdb0b35a4b /source4/lib/replace
parent657325d684b838ee7dd6379a4a6034c1fedabcae (diff)
downloadsamba-e572bbb94cb8a23d366647bcf584cc75029e8def.tar.gz
samba-e572bbb94cb8a23d366647bcf584cc75029e8def.tar.bz2
samba-e572bbb94cb8a23d366647bcf584cc75029e8def.zip
r15321: Reduce the size of rewrite.m4 a bit more
(This used to be commit c83e4b166534278c335254aa8890a50635bbf1b7)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/config.m43
-rw-r--r--source4/lib/replace/replace.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/replace/config.m4 b/source4/lib/replace/config.m4
index bf46bdcc58..12e3607bb4 100644
--- a/source4/lib/replace/config.m4
+++ b/source4/lib/replace/config.m4
@@ -81,6 +81,7 @@ AC_HAVE_DECL(vasprintf, [#include <stdio.h>])
AC_HAVE_DECL(vsnprintf, [#include <stdio.h>])
AC_HAVE_DECL(snprintf, [#include <stdio.h>])
AC_CHECK_FUNCS(snprintf vsnprintf asprintf vasprintf)
+AC_CHECK_HEADERS(strings.h)
AC_CACHE_CHECK([for C99 vsnprintf],samba_cv_HAVE_C99_VSNPRINTF,[
AC_TRY_RUN([
@@ -177,4 +178,4 @@ else
fi
fi
-AC_CHECK_HEADERS([sys/param.h])
+AC_CHECK_HEADERS([sys/param.h limits.h])
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index 5d3ef52987..90f05d6c90 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/lib/replace/replace.c
@@ -22,6 +22,7 @@
#include "system/wait.h"
#include "system/time.h"
#include "system/network.h"
+#include "system/filesys.h"
#include "system/iconv.h"
void replace_dummy(void);