summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-27 01:29:12 +0100
committerMichael Adam <obnox@samba.org>2008-02-27 11:06:46 +0100
commita565f50735e1c90b55c8069067821754938035f9 (patch)
treef0f607da2775d1e69c29cd232ed86bbc25545b8b /source3
parent71ab53a13be17c50ed7e640290407f0dca11db3c (diff)
downloadsamba-a565f50735e1c90b55c8069067821754938035f9.tar.gz
samba-a565f50735e1c90b55c8069067821754938035f9.tar.bz2
samba-a565f50735e1c90b55c8069067821754938035f9.zip
libreplace: fix standalone build on some systems.
getifaddr tests include system/network.h, which does not find getaddrinfo.h without "-I.". Michael (This used to be commit 66d4c38967e0d420929d4e1fdab0590161d526bc)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/replace/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/replace/configure.ac b/source3/lib/replace/configure.ac
index beeb77e152..72d788ddcc 100644
--- a/source3/lib/replace/configure.ac
+++ b/source3/lib/replace/configure.ac
@@ -3,6 +3,8 @@ AC_INIT(replace.c)
AC_CONFIG_SRCDIR([replace.c])
AC_CONFIG_HEADER(config.h)
+CFLAGS="$CFLAGS -I."
+
AC_LIBREPLACE_ALL_CHECKS
if test "$ac_cv_prog_gcc" = yes; then