aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>