diff options
author | lufia <lufia@lufia.org> | 2019-08-29 01:11:47 +0900 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-29 19:25:09 +0200 |
commit | 4a90c5b82e21821496ef1afb5210a13f2564fcac (patch) | |
tree | 64f04c2879ba70a34283a74aedf48eeb405f4ae5 /src | |
parent | 05856dae9cbaff2ecb6f69cabeeb35594a900dad (diff) |
curl: fix include conditions
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_help.c | 2 | ||||
-rw-r--r-- | src/tool_operate.c | 4 |
2 files changed, 5 insertions, 1 deletions
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 <strings.h> #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 <locale.h> #endif +#ifdef HAVE_SYS_SELECT_H +# include <sys/select.h> +#endif + #ifdef __VMS # include <fabdef.h> #endif |