diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-04-18 13:22:23 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-04-18 13:22:23 +0300 |
commit | d867b7ae1dcd77ca7af64c3e5489644670b136f5 (patch) | |
tree | aa09512cb957ef66df9a2159342706dad3d0fee5 /src/lib | |
parent | ef97e6c5534c1e0266056aa063f0467d37bd8347 (diff) | |
parent | 6a179b1072887c5b8e9a2f679a6faf5504bbf3e3 (diff) | |
download | tor-d867b7ae1dcd77ca7af64c3e5489644670b136f5.tar.gz tor-d867b7ae1dcd77ca7af64c3e5489644670b136f5.zip |
Merge branch 'maint-0.4.0'
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/fdio/fdio.c | 4 |
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, |