]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove some duplicate includes
authorAndrea Gelmini <andrea.gelmini@gelma.net>
Tue, 1 Nov 2011 14:00:37 +0000 (15:00 +0100)
committerNick Mathewson <nickm@torproject.org>
Thu, 3 Nov 2011 14:23:33 +0000 (10:23 -0400)
src/common/compat.h
src/common/crypto.c
src/common/mempool.c
src/or/eventdns.c

index 8e271ba90515f4f74e3fb064e6268110d065b7fa..045f414c61a3dd625d07bc0e7ad12d60a61d7147 100644 (file)
@@ -45,9 +45,6 @@
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
index 0763a2c8c54eba9e4fa86aa6a205ce21810748d3..f2ef833522e335453e28160bd9be300937a47070 100644 (file)
@@ -64,8 +64,6 @@
 #error "We require OpenSSL >= 0.9.7"
 #endif
 
-#include <openssl/engine.h>
-
 #ifdef ANDROID
 /* Android's OpenSSL seems to have removed all of its Engine support. */
 #define DISABLE_ENGINES
index 30d7788043e0d5fa0b2e3b2fd79dce7262588bcf..1462c5f8fe42300b7edfebf606e844f7564d3565 100644 (file)
@@ -62,7 +62,6 @@
 
 #if 1
 /* Tor dependencies */
-#include "orconfig.h"
 #include "util.h"
 #include "compat.h"
 #include "torlog.h"
index 7fe376baffe274c243c476abe8204cc62f0134d7..29e2d3afbd9e686b485b688b423b4a4cbc4db90d 100644 (file)
@@ -75,7 +75,6 @@
 #include <stdint.h>
 #endif
 #include <stdlib.h>
-#include <string.h>
 #include <errno.h>
 #include <assert.h>
 #ifdef HAVE_UNISTD_H