]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl: fix include conditions
authorlufia <lufia@lufia.org>
Wed, 28 Aug 2019 16:11:47 +0000 (01:11 +0900)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Aug 2019 17:25:09 +0000 (19:25 +0200)
src/tool_help.c
src/tool_operate.c

index cb0afef56615a8744f871570253724c25032b9c2..2714390536a4730c9b6f8b4eafd683012ae12b33 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 #include "tool_setup.h"
-#ifdef HAVE_STRCASECMP
+#if defined(HAVE_STRCASECMP) && defined(HAVE_STRINGS_H)
 #include <strings.h>
 #endif
 
index 87d3ab89cc5d502e3bbcdce09f9e7b2fe139ae97..9b52258533c1a3e44a5a5f872a5e09c5b8c77c57 100644 (file)
 #  include <locale.h>
 #endif
 
+#ifdef HAVE_SYS_SELECT_H
+#  include <sys/select.h>
+#endif
+
 #ifdef __VMS
 #  include <fabdef.h>
 #endif