]> granicus.if.org Git - curl/commitdiff
tool_help: include <strings.h> for strcasecmp
authorDaniel Stenberg <daniel@haxx.se>
Sat, 30 Mar 2019 05:46:30 +0000 (06:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 31 Mar 2019 22:19:10 +0000 (00:19 +0200)
Reported-by: Wyatt O'Day
Fixes #3715
Closes #3716

src/tool_help.c

index 8a3c2582039009659f56d995a267fec20f521db8..1ba9975c6b17f9d19b934e97d9bfe2ec7f211da6 100644 (file)
@@ -20,6 +20,9 @@
  *
  ***************************************************************************/
 #include "tool_setup.h"
+#ifdef HAVE_STRCASECMP
+#include <strings.h>
+#endif
 
 #include "tool_panykey.h"
 #include "tool_help.h"