aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-04-18 13:22:23 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-04-18 13:22:23 +0300
commitd867b7ae1dcd77ca7af64c3e5489644670b136f5 (patch)
treeaa09512cb957ef66df9a2159342706dad3d0fee5 /src/lib
parentef97e6c5534c1e0266056aa063f0467d37bd8347 (diff)
parent6a179b1072887c5b8e9a2f679a6faf5504bbf3e3 (diff)
downloadtor-d867b7ae1dcd77ca7af64c3e5489644670b136f5.tar.gz
tor-d867b7ae1dcd77ca7af64c3e5489644670b136f5.zip
Merge branch '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,