|
|
|
|
@ -134,6 +134,8 @@
|
|
|
|
|
#include <fcntl.h> |
|
|
|
|
#include <unistd.h> |
|
|
|
|
#include <poll.h> |
|
|
|
|
#define utun_gettimeofday(A,B) gettimeofday(A,B) |
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#include <stdint.h> |
|
|
|
|
@ -146,4 +148,5 @@ int random_bytes(uint8_t *buffer, size_t len);
|
|
|
|
|
// Returns IPv4 address in network byte order, 0 on error
|
|
|
|
|
uint32_t get_default_route_ip(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // PLATFORM_COMPAT_H
|
|
|
|
|
|