aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/input_avail.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/input_avail.c')
-rw-r--r--lib/sh/input_avail.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/sh/input_avail.c b/lib/sh/input_avail.c
index 5e01f8f..ac157a9 100644
--- a/lib/sh/input_avail.c
+++ b/lib/sh/input_avail.c
@@ -39,14 +39,7 @@
#include "bashansi.h"
-#if defined (HAVE_SELECT)
-# if !defined (HAVE_SYS_SELECT_H) || !defined (M_UNIX)
-# include <sys/time.h>
-# endif
-#endif /* HAVE_SELECT */
-#if defined (HAVE_SYS_SELECT_H)
-# include <sys/select.h>
-#endif
+#include "posixselect.h"
#if defined (FIONREAD_IN_SYS_IOCTL)
# include <sys/ioctl.h>