aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-17 07:57:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-17 07:57:13 +0000
commitbaa77ec13bde1625213aa41fbc98001db08df5b7 (patch)
treea9693af18e82656d4d6fcd1614461508e9eebc74
parent9263652c6d91569ed2856b84bbd5f57c2565162a (diff)
FreeBSD needs sys/types.h before we include sys/select.h that was included
mainly for AIX in the first place...! As reported in bug report #556869
-rw-r--r--src/writeout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/writeout.c b/src/writeout.c
index 343e96ffc..bf7393799 100644
--- a/src/writeout.c
+++ b/src/writeout.c
@@ -26,6 +26,9 @@
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif