From b8554dd8804fc6e5e86962edd655bc80e32f9a75 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 9 Jul 2018 08:44:16 -0400 Subject: [PATCH] Make Tor compile with --disable-memory-sentinels again --- src/lib/memarea/.may_include | 1 + src/lib/memarea/memarea.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 #include -#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"