aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awk.h4
-rw-r--r--io.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/awk.h b/awk.h
index 1a7dc242..c74c6881 100644
--- a/awk.h
+++ b/awk.h
@@ -152,10 +152,6 @@ typedef int off_t;
#include <strings.h>
#endif /* HAVE_STRINGS_H */
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif /* HAVE_SYS_SELECT_H */
-
#if HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
diff --git a/io.c b/io.c
index 8ebce698..f6b50314 100644
--- a/io.c
+++ b/io.c
@@ -76,6 +76,10 @@
#include <netdb.h>
#endif /* HAVE_NETDB_H */
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif /* HAVE_SYS_SELECT_H */
+
#ifndef HAVE_GETADDRINFO
#include "missing_d/getaddrinfo.h"
#endif