summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-07-30 04:54:14 +0000
committerAndrew Tridgell <tridge@samba.org>1998-07-30 04:54:14 +0000
commit5371a80557b8b491dbe125ab963381aa8271b18b (patch)
tree4e537cb6fda88d3cd943268681a465d9ae529445 /source3/configure.in
parentb08931b5528bd3ea9915329bc298990fc953c245 (diff)
downloadsamba-5371a80557b8b491dbe125ab963381aa8271b18b.tar.gz
samba-5371a80557b8b491dbe125ab963381aa8271b18b.tar.bz2
samba-5371a80557b8b491dbe125ab963381aa8271b18b.zip
fixed sin_len test for FreeBSD
(This used to be commit 15b666a0cebb994b6ed96c75716946afdbfa2861)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index a7cba67688..621c23ed50 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -145,7 +145,8 @@ echo no)
echo $ac_n "checking for sin_len in sock ... $ac_c"
AC_TRY_COMPILE([#include <sys/types.h>
-#include <sys/socket.h>],
+#include <sys/socket.h>
+#include <netinet/in.h>],
[struct sockaddr_in sock; sock.sin_len = sizeof(sock);],
echo yes;AC_DEFINE(HAVE_SOCK_SIN_LEN),
echo no)