]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
A pair of missing includes.
authorNick Mathewson <nickm@torproject.org>
Fri, 22 Jun 2018 16:53:57 +0000 (12:53 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 22 Jun 2018 16:53:57 +0000 (12:53 -0400)
src/lib/container/smartlist.h
src/lib/lock/compat_mutex_winthreads.c

index dd455390eb3d1d064ec316df119350de6662f0b0..7b1d06d7b0b4b643236631711187886fc68e51ee 100644 (file)
@@ -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);
index c92eb62913cca391256c3c32914584876ef476c6..32be288c7fa7dffefb8ba6b161646ca954a2ce13 100644 (file)
@@ -4,6 +4,7 @@
 /* See LICENSE for licensing information */
 
 #include "lib/lock/compat_mutex.h"
+#include "lib/err/torerr.h"
 
 void
 tor_locking_init(void)