diff --git a/src/lib/fdio/fdio.h b/src/lib/fdio/fdio.h index 8395af353b..751d01bc0a 100644 --- a/src/lib/fdio/fdio.h +++ b/src/lib/fdio/fdio.h @@ -13,6 +13,9 @@ #define TOR_FDIO_H #include +#ifdef HAVE_SYS_TYPES_H +#include +#endif off_t tor_fd_getpos(int fd); int tor_fd_setpos(int fd, off_t pos);