aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tool_help.c2
-rw-r--r--src/tool_operate.c4
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