A pair of missing includes.

This commit is contained in:
Nick Mathewson 2018-06-22 12:53:57 -04:00
parent b0adf2fc9b
commit 7aecea79cb
2 changed files with 2 additions and 0 deletions

View 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);

View 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)