diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
commit | e45810113b150533611c7d9cb5f0f264e00a7394 (patch) | |
tree | 771581e87e36d6e4a4c81019c61b0dcb444c5096 /src/lib/fdio | |
parent | a48cb9fa436720c263dd41ce501076185aeb5872 (diff) | |
parent | 8b2041c343098052dcec03cd6eda7087bc5c7616 (diff) | |
download | tor-e45810113b150533611c7d9cb5f0f264e00a7394.tar.gz tor-e45810113b150533611c7d9cb5f0f264e00a7394.zip |
Merge branch 'pre_formatter_cleanups_squashed'
Diffstat (limited to 'src/lib/fdio')
-rw-r--r-- | src/lib/fdio/fdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/fdio/fdio.h b/src/lib/fdio/fdio.h index 9aa6bfd796..99bc33c64b 100644 --- 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); |