diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/replace/getifaddrs.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/getifaddrs.m4 b/source3/lib/replace/getifaddrs.m4 index 6cca155de3..c79367fe4f 100644 --- a/source3/lib/replace/getifaddrs.m4 +++ b/source3/lib/replace/getifaddrs.m4 @@ -38,6 +38,8 @@ fi # old_LIBS=$LIBS LIBS="$NSL_LIBS $SOCKET_LIBS" +SAVE_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CPPFLAGS -I$libreplacedir" iface=no; ################## # look for a method of finding the list of network interfaces @@ -125,3 +127,5 @@ fi fi LIBS=$old_LIBS +CPPFLAGS="$SAVE_CPPFLAGS" + |