aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-04-18 13:21:59 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-04-18 13:21:59 +0300
commit6a179b1072887c5b8e9a2f679a6faf5504bbf3e3 (patch)
treeab5d60168261ca67dfb06a3ed72dadc6aedf36d9 /src/lib
parentc72f0cd5c77ffceb6f0275295c3446a908b17a75 (diff)
parent950d890f77d8f060702b100e6075d5083d536577 (diff)
downloadtor-6a179b1072887c5b8e9a2f679a6faf5504bbf3e3.tar.gz
tor-6a179b1072887c5b8e9a2f679a6faf5504bbf3e3.zip
Merge branch 'tor-github/pr/891' into maint-0.4.0
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/fdio/fdio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/fdio/fdio.c b/src/lib/fdio/fdio.c
index 6c87af791d..078af6a9ba 100644
--- a/src/lib/fdio/fdio.c
+++ b/src/lib/fdio/fdio.c
@@ -17,12 +17,16 @@
#ifdef _WIN32
#include <windows.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#include "lib/fdio/fdio.h"
#include "lib/cc/torint.h"
#include "lib/err/torerr.h"
#include <stdlib.h>
+#include <stdio.h>
/** @{ */
/** Some old versions of Unix didn't define constants for these values,