[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] A pair of missing includes.



commit 7aecea79cb7f48ce5a8620b4a9fc2534289b4d5d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Fri Jun 22 12:53:57 2018 -0400

    A pair of missing includes.
---
 src/lib/container/smartlist.h          | 1 +
 src/lib/lock/compat_mutex_winthreads.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/lib/container/smartlist.h b/src/lib/container/smartlist.h
index dd455390e..7b1d06d7b 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 c92eb6291..32be288c7 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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits