aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/download.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/download.c b/lib/download.c
index d8c56b185..68e6f308a 100644
--- a/lib/download.c
+++ b/lib/download.c
@@ -44,6 +44,10 @@
#include "setup.h"
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif