summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-29 02:46:14 +0100
committerMichael Adam <obnox@samba.org>2008-02-29 02:46:14 +0100
commitde4a2214efb3fcc1aa04664371983dbc768eaf79 (patch)
tree41483570157c37599544c85c5fb20bec8ba54882
parentabb9356b4f78bcd64de6c53f6ce6b1fda05b42e2 (diff)
downloadsamba-de4a2214efb3fcc1aa04664371983dbc768eaf79.tar.gz
samba-de4a2214efb3fcc1aa04664371983dbc768eaf79.tar.bz2
samba-de4a2214efb3fcc1aa04664371983dbc768eaf79.zip
libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael (This used to be commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
-rw-r--r--source4/lib/replace/getifaddrs.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/getifaddrs.m4 b/source4/lib/replace/getifaddrs.m4
index 1fa168b59e..6cca155de3 100644
--- a/source4/lib/replace/getifaddrs.m4
+++ b/source4/lib/replace/getifaddrs.m4
@@ -50,6 +50,7 @@ AC_TRY_RUN([
#define SOCKET_WRAPPER_NOT_REPLACE
#include "$libreplacedir/replace.c"
#include "$libreplacedir/inet_ntop.c"
+#include "$libreplacedir/snprintf.c"
#include "$libreplacedir/getifaddrs.c"
#define getifaddrs_test main
#include "$libreplacedir/test/getifaddrs.c"],
@@ -71,6 +72,7 @@ AC_TRY_RUN([
#define SOCKET_WRAPPER_NOT_REPLACE
#include "$libreplacedir/replace.c"
#include "$libreplacedir/inet_ntop.c"
+#include "$libreplacedir/snprintf.c"
#include "$libreplacedir/getifaddrs.c"
#define getifaddrs_test main
#include "$libreplacedir/test/getifaddrs.c"],
@@ -91,6 +93,7 @@ AC_TRY_RUN([
#define SOCKET_WRAPPER_NOT_REPLACE
#include "$libreplacedir/replace.c"
#include "$libreplacedir/inet_ntop.c"
+#include "$libreplacedir/snprintf.c"
#include "$libreplacedir/getifaddrs.c"
#define getifaddrs_test main
#include "$libreplacedir/test/getifaddrs.c"],
@@ -110,6 +113,7 @@ AC_TRY_RUN([
#define SOCKET_WRAPPER_NOT_REPLACE
#include "$libreplacedir/replace.c"
#include "$libreplacedir/inet_ntop.c"
+#include "$libreplacedir/snprintf.c"
#include "$libreplacedir/getifaddrs.c"
#define getifaddrs_test main
#include "$libreplacedir/test/getifaddrs.c"],