aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-10 22:03:52 +0000
committerlloyd <[email protected]>2010-03-10 22:03:52 +0000
commit47ad59e19b11b1f7ea4d15d86408d3ca675cd369 (patch)
tree6aa1cd6189e4a2e5853fbfdb470d3fa0d5e8aeb7 /src
parent9db628582ae09245f2fa3381add2bf8812c450f7 (diff)
Include <netinet/in.h>; needed on FreeBSD at least
Diffstat (limited to 'src')
-rw-r--r--src/ssl/unix_socket/unx_sock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ssl/unix_socket/unx_sock.cpp b/src/ssl/unix_socket/unx_sock.cpp
index ca4d476b7..0552a33b6 100644
--- a/src/ssl/unix_socket/unx_sock.cpp
+++ b/src/ssl/unix_socket/unx_sock.cpp
@@ -1,6 +1,6 @@
/**
* Unix Socket
-* (C) 2004-2006 Jack Lloyd
+* (C) 2004-2010 Jack Lloyd
*
* Released under the terms of the Botan license
*/
@@ -11,6 +11,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
+#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <errno.h>