summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ftp/ftp.c')
-rw-r--r--ext/ftp/ftp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index db047110e0..e47806001c 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -44,6 +44,10 @@
#include <sys/time.h>
#endif
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
#include "ftp.h"
#include "ext/standard/fsock.h"