aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container/smartlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/container/smartlist.h')
-rw-r--r--src/lib/container/smartlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/container/smartlist.h b/src/lib/container/smartlist.h
index dd455390eb..7b1d06d7b0 100644
--- a/src/lib/container/smartlist.h
+++ b/src/lib/container/smartlist.h
@@ -64,6 +64,7 @@ void smartlist_subtract(smartlist_t *sl1, const smartlist_t *sl2);
/* smartlist_choose() is defined in crypto.[ch] */
#ifdef DEBUG_SMARTLIST
+#include "lib/err/torerr.h"
/** Return the number of items in sl.
*/
static inline int smartlist_len(const smartlist_t *sl);