aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.h.in5
-rw-r--r--src/writeout.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/src/config.h.in b/src/config.h.in
index 31825bf65..5658fcdcf 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -17,5 +17,8 @@
/* Define if you have the <utime.h> header file */
#undef HAVE_UTIME_H
-/* Define if you have thhe <sys/utime.h> header file */
+/* Define if you have the <sys/utime.h> header file */
#undef HAVE_SYS_UTIME_H
+
+/* Define if you have the <sys/select.h> header file */
+#undef HAVE_SYS_SELECT_H
diff --git a/src/writeout.c b/src/writeout.c
index c0be70b2f..343e96ffc 100644
--- a/src/writeout.c
+++ b/src/writeout.c
@@ -21,9 +21,15 @@
* $Id$
*****************************************************************************/
+#include "setup.h"
+
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
#include <curl/curl.h>
#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */