summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/compat.h3
-rw-r--r--src/common/crypto.c2
-rw-r--r--src/common/mempool.c1
-rw-r--r--src/or/eventdns.c1
4 files changed, 0 insertions, 7 deletions
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 <sys/socket.h>
#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#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 <openssl/engine.h>
-
#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 <stdint.h>
#endif
#include <stdlib.h>
-#include <string.h>
#include <errno.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H