aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-22 12:53:57 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 12:53:57 -0400
commit7aecea79cb7f48ce5a8620b4a9fc2534289b4d5d (patch)
tree1ab07296f94085d3a3de9b8c81aa70e4b4bd26e8 /src/lib
parentb0adf2fc9b079e530494328c8c1aa4528b649080 (diff)
downloadtor-7aecea79cb7f48ce5a8620b4a9fc2534289b4d5d.tar.gz
tor-7aecea79cb7f48ce5a8620b4a9fc2534289b4d5d.zip
A pair of missing includes.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/container/smartlist.h1
-rw-r--r--src/lib/lock/compat_mutex_winthreads.c1
2 files changed, 2 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);
diff --git a/src/lib/lock/compat_mutex_winthreads.c b/src/lib/lock/compat_mutex_winthreads.c
index c92eb62913..32be288c7f 100644
--- a/src/lib/lock/compat_mutex_winthreads.c
+++ b/src/lib/lock/compat_mutex_winthreads.c
@@ -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)