From: Andrea Gelmini Date: Tue, 1 Nov 2011 14:00:37 +0000 (+0100) Subject: Remove some duplicate includes X-Git-Tag: tor-0.2.3.8-alpha~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72d4d762c19a81a81574d7e09cd4b0e3af1e6dbc;p=thirdparty%2Ftor.git Remove some duplicate includes --- diff --git a/src/common/compat.h b/src/common/compat.h index 8e271ba905..045f414c61 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -45,9 +45,6 @@ #ifdef HAVE_SYS_SOCKET_H #include #endif -#ifdef HAVE_SYS_TYPES_H -#include -#endif #ifdef HAVE_NETINET_IN_H #include #endif diff --git a/src/common/crypto.c b/src/common/crypto.c index 0763a2c8c5..f2ef833522 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -64,8 +64,6 @@ #error "We require OpenSSL >= 0.9.7" #endif -#include - #ifdef ANDROID /* Android's OpenSSL seems to have removed all of its Engine support. */ #define DISABLE_ENGINES diff --git a/src/common/mempool.c b/src/common/mempool.c index 30d7788043..1462c5f8fe 100644 --- a/src/common/mempool.c +++ b/src/common/mempool.c @@ -62,7 +62,6 @@ #if 1 /* Tor dependencies */ -#include "orconfig.h" #include "util.h" #include "compat.h" #include "torlog.h" diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 7fe376baff..29e2d3afbd 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -75,7 +75,6 @@ #include #endif #include -#include #include #include #ifdef HAVE_UNISTD_H