diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-20 17:07:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 06:28:52 +0100 |
commit | 6890891b5f909f6b7a1c156d7dd0f811d7f8559d (patch) | |
tree | f034bf3f5504a6aeebd61e1bd1ac9f49f0abde12 /source4/lib/replace/getifaddrs.m4 | |
parent | 9f1e4c2b3a566066038f53b280d9d7e6f5979627 (diff) | |
download | samba-6890891b5f909f6b7a1c156d7dd0f811d7f8559d.tar.gz samba-6890891b5f909f6b7a1c156d7dd0f811d7f8559d.tar.bz2 samba-6890891b5f909f6b7a1c156d7dd0f811d7f8559d.zip |
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
(This used to be commit 37c7b65546190bdce40cb48435cc4fd51d89a124)
Diffstat (limited to 'source4/lib/replace/getifaddrs.m4')
-rw-r--r-- | source4/lib/replace/getifaddrs.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/getifaddrs.m4 b/source4/lib/replace/getifaddrs.m4 index 30b9d0264f..297a82d0c3 100644 --- a/source4/lib/replace/getifaddrs.m4 +++ b/source4/lib/replace/getifaddrs.m4 @@ -9,12 +9,12 @@ AC_CHECK_MEMBERS([struct sockaddr.sa_len], dnl test for getifaddrs and freeifaddrs AC_CACHE_CHECK([for getifaddrs and freeifaddrs],samba_cv_HAVE_GETIFADDRS,[ AC_TRY_COMPILE([ -#include <sys/socket.h> #include <sys/types.h> #if STDC_HEADERS #include <stdlib.h> #include <stddef.h> #endif +#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <ifaddrs.h> |