From 2a6fc74314afc361ea37a3755e23ec827a29e9e3 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Sat, 18 Apr 2015 22:30:56 +0200 Subject: [PATCH] netinet/in.h and openssl/ssl.h from config.h --- configure.ac | 4 ++++ src/config.h.in | 4 ++++ src/types-internal.h | 2 -- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 141633c2..74d0f527 100755 --- a/configure.ac +++ b/configure.ac @@ -741,6 +741,10 @@ unsigned char *SHA512(void* data, unsigned int data_len, unsigned char *digest); #include #endif +#ifdef HAVE_OPENSSL_SSL_H +#include +#endif + #ifdef HAVE_ATTR_FORMAT # define ATTR_FORMAT(archetype, string_index, first_to_check) \ __attribute__ ((format (archetype, string_index, first_to_check))) diff --git a/src/config.h.in b/src/config.h.in index 1c458b61..c6e67fae 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -323,6 +323,10 @@ unsigned char *SHA512(void* data, unsigned int data_len, unsigned char *digest); #include #endif +#ifdef HAVE_OPENSSL_SSL_H +#include +#endif + #ifdef HAVE_ATTR_FORMAT # define ATTR_FORMAT(archetype, string_index, first_to_check) \ __attribute__ ((format (archetype, string_index, first_to_check))) diff --git a/src/types-internal.h b/src/types-internal.h index 6e4001e6..5220d599 100644 --- a/src/types-internal.h +++ b/src/types-internal.h @@ -36,8 +36,6 @@ #ifndef TYPES_INTERNAL_H_ #define TYPES_INTERNAL_H_ -#include -#include #include "getdns/getdns.h" #include "getdns/getdns_extra.h" #include "util/rbtree.h"