aboutsummaryrefslogtreecommitdiffstats
path: root/openssl.c
diff options
context:
space:
mode:
authorLibravatarLibravatar William Ahern <william@fbsd.orville.25thandClement.com> 2012-10-09 19:04:42 -0700
committerLibravatarLibravatar William Ahern <william@fbsd.orville.25thandClement.com> 2012-10-09 19:04:42 -0700
commitac93581c90d8a1612ce01e3a308d572f98002924 (patch)
tree3dda263b6d130409aed295669124debcea87f837 /openssl.c
parent7314a6aaddf0984258d5e04b27faee08de314821 (diff)
downloadluaossl-ac93581c90d8a1612ce01e3a308d572f98002924.tar.gz
luaossl-ac93581c90d8a1612ce01e3a308d572f98002924.tar.bz2
luaossl-ac93581c90d8a1612ce01e3a308d572f98002924.zip
-n
fix freebsd build
Diffstat (limited to 'openssl.c')
-rw-r--r--openssl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl.c b/openssl.c
index b63e6e0..c0196bd 100644
--- a/openssl.c
+++ b/openssl.c
@@ -34,9 +34,10 @@
#include <sys/types.h>
#include <sys/stat.h> /* struct stat stat(2) */
+#include <sys/socket.h> /* AF_INET AF_INET6 */
#include <netinet/in.h> /* struct in_addr struct in6_addr */
-#include <arpa/inet.h> /* AF_INET6 AF_INET inet_pton(3) */
+#include <arpa/inet.h> /* inet_pton(3) */
#include <openssl/err.h>
#include <openssl/bn.h>