aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-09 08:44:16 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-09 08:44:16 -0400
commitb8554dd8804fc6e5e86962edd655bc80e32f9a75 (patch)
tree45f5c26239e909dc10dc454b46bb9959b653d0cf /src
parent10c782d7fa227bb426af5bcbe0073c366d93594a (diff)
downloadtor-b8554dd8804fc6e5e86962edd655bc80e32f9a75.tar.gz
tor-b8554dd8804fc6e5e86962edd655bc80e32f9a75.zip
Make Tor compile with --disable-memory-sentinels again
Diffstat (limited to 'src')
-rw-r--r--src/lib/memarea/.may_include1
-rw-r--r--src/lib/memarea/memarea.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/memarea/.may_include b/src/lib/memarea/.may_include
index c55722284f..814652a93c 100644
--- a/src/lib/memarea/.may_include
+++ b/src/lib/memarea/.may_include
@@ -1,6 +1,7 @@
orconfig.h
lib/arch/*.h
lib/cc/*.h
+lib/container/*.h
lib/log/*.h
lib/malloc/*.h
lib/memarea/*.h
diff --git a/src/lib/memarea/memarea.c b/src/lib/memarea/memarea.c
index 2d510a51ac..9d494ab2d4 100644
--- a/src/lib/memarea/memarea.c
+++ b/src/lib/memarea/memarea.c
@@ -14,8 +14,9 @@
#include <stdlib.h>
#include <string.h>
-#include "lib/cc/torint.h"
#include "lib/arch/bytes.h"
+#include "lib/cc/torint.h"
+#include "lib/container/smartlist.h"
#include "lib/log/torlog.h"
#include "lib/log/util_bug.h"
#include "lib/malloc/util_malloc.h"