aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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