mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Include sys/types.h in fdio.h, for "off_t".
Otherwise our compilation depends on include order.
This commit is contained in:
parent
7b0d8834f2
commit
b1dceeca5a
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue