diff options
author | Michael Adam <obnox@samba.org> | 2008-02-29 02:46:14 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-02-29 09:32:11 +0100 |
commit | 71f74cfc67e8954698467aa630156b0435894abc (patch) | |
tree | b0e1161f4a1dda101f857e35d2a193eff8a8f906 | |
parent | a73f4bc27f79f7920a881fcb0050621119591e64 (diff) | |
download | samba-71f74cfc67e8954698467aa630156b0435894abc.tar.gz samba-71f74cfc67e8954698467aa630156b0435894abc.tar.bz2 samba-71f74cfc67e8954698467aa630156b0435894abc.zip |
libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael
(cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
(This used to be commit 77b7d7c0417e498340d1c9364fbbb8671c175477)
-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 1fa168b59e..6cca155de3 100644 --- a/source3/lib/replace/getifaddrs.m4 +++ b/source3/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"], |