mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Include sys/types.h in fdio.h, for "off_t".
Otherwise our compilation depends on include order.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user