Commit 65bc22fa504f8d644725d4472d0b0267ed0474a5

Edward Thomson 2015-01-26T11:18:17

Merge pull request #2844 from rakuco/netinet-include-fixes openssl: Add all required includes for AF_INET6 and in6_addr.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/openssl_stream.c b/src/openssl_stream.c
index 3a6369d..2a17a3a 100644
--- a/src/openssl_stream.c
+++ b/src/openssl_stream.c
@@ -12,6 +12,9 @@
 #include <openssl/x509v3.h>
 
 #include <ctype.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 
 #include "global.h"
 #include "posix.h"