[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Include compat_string.h in smartlist.c
commit 3d610363eff2fe70d3775a66a97f844956480141
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu Jul 5 13:53:17 2018 -0400
Include compat_string.h in smartlist.c
We need this for strcasecmp on (some) Windows build environments.
Fix from Gisle Vanem.
---
src/lib/container/smartlist.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/container/smartlist.c b/src/lib/container/smartlist.c
index 63c50e045..c3abbff51 100644
--- a/src/lib/container/smartlist.c
+++ b/src/lib/container/smartlist.c
@@ -21,6 +21,7 @@
#include "lib/defs/digest_sizes.h"
#include "lib/ctime/di_ops.h"
#include "lib/string/compat_ctype.h"
+#include "lib/string/compat_string.h"
#include "lib/string/util_string.h"
#include "lib/string/printf.h"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits