aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-21 16:52:58 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 09:49:13 -0400
commit9cf6fc91b1d0870dab8bf87feb9132e7e0de2808 (patch)
tree844acd03eae6aaf9bb43dac7b811da00714b97e3 /src/common
parent50a5954003a0478273d9e2c1a546e641e763a997 (diff)
downloadtor-9cf6fc91b1d0870dab8bf87feb9132e7e0de2808.tar.gz
tor-9cf6fc91b1d0870dab8bf87feb9132e7e0de2808.zip
Remove map from container.h
Diffstat (limited to 'src/common')
-rw-r--r--src/common/address.c2
-rw-r--r--src/common/sandbox.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/common/address.c b/src/common/address.c
index 27f8c4efe2..f9e5cc5c74 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -42,6 +42,7 @@
#include "common/torlog.h"
#include "lib/container/container.h"
#include "common/sandbox.h"
+#include "siphash.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -2169,4 +2170,3 @@ tor_addr_port_eq(const tor_addr_port_t *a,
{
return tor_addr_eq(&a->addr, &b->addr) && a->port == b->port;
}
-
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index e67cedf0b7..7e88ec9dd1 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -33,7 +33,7 @@
#include <stdlib.h>
#include "common/sandbox.h"
-#include "lib/container/container.h"
+#include "lib/container/map.h"
#include "lib/err/torerr.h"
#include "common/torlog.h"
#include "lib/cc/torint.h"
@@ -42,6 +42,8 @@
#include "ht.h"
+#include "siphash.h"
+
#define DEBUGGING_CLOSE
#if defined(USE_LIBSECCOMP)