[tor-commits] [tor/master] Include compat_string.h in smartlist.c

nickm at torproject.org nickm at torproject.org
Thu Jul 5 17:54:22 UTC 2018


commit 3d610363eff2fe70d3775a66a97f844956480141
Author: Nick Mathewson <nickm at torproject.org>
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"
 



More information about the tor-commits mailing list