mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
(This used to be commit 37c7b65546
)
This commit is contained in:
parent
9f1e4c2b3a
commit
6890891b5f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user