Merge pull request #2844 from rakuco/netinet-include-fixes openssl: Add all required includes for AF_INET6 and in6_addr.
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"