aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container/smartlist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-22 13:25:52 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 13:25:58 -0400
commit4118ba67dbdaecdd93d6ba02584b19dc62e28916 (patch)
treecda9468dd152a2b86b0a256bbe3eb256415e4b8b /src/lib/container/smartlist.h
parentcf66544941364ae2c0ed45486ac7b16e61422061 (diff)
downloadtor-4118ba67dbdaecdd93d6ba02584b19dc62e28916.tar.gz
tor-4118ba67dbdaecdd93d6ba02584b19dc62e28916.zip
Update the micro-revision.i dependencies, and add a stdlib.h
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 7b1d06d7b0..c202e134f9 100644
--- a/src/lib/container/smartlist.h
+++ b/src/lib/container/smartlist.h
@@ -65,6 +65,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"
+#include <stdlib.h>
/** Return the number of items in sl.
*/
static inline int smartlist_len(const smartlist_t *sl);