summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
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)