From 4a90c5b82e21821496ef1afb5210a13f2564fcac Mon Sep 17 00:00:00 2001 From: lufia Date: Thu, 29 Aug 2019 01:11:47 +0900 Subject: curl: fix include conditions --- src/tool_help.c | 2 +- src/tool_operate.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/tool_help.c b/src/tool_help.c index cb0afef56..271439053 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -20,7 +20,7 @@ * ***************************************************************************/ #include "tool_setup.h" -#ifdef HAVE_STRCASECMP +#if defined(HAVE_STRCASECMP) && defined(HAVE_STRINGS_H) #include #endif diff --git a/src/tool_operate.c b/src/tool_operate.c index 87d3ab89c..9b5225853 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -29,6 +29,10 @@ # include #endif +#ifdef HAVE_SYS_SELECT_H +# include +#endif + #ifdef __VMS # include #endif -- cgit v1.2.3