tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit b1dceeca5a8e5bf948d185728631fee114fac6f2
parent 7b0d8834f2d762f610291a1c4ffe1f775f46a5f1
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 16 Dec 2019 12:58:25 -0500

Include sys/types.h in fdio.h, for "off_t".

Otherwise our compilation depends on include order.

Diffstat:
Msrc/lib/fdio/fdio.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/lib/fdio/fdio.h b/src/lib/fdio/fdio.h @@ -13,6 +13,9 @@ #define TOR_FDIO_H #include <stddef.h> +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif off_t tor_fd_getpos(int fd); int tor_fd_setpos(int fd, off_t pos);