Fix Windows build: add sa_family_t typedef, replace arpa/inet.h, fix ll_queue warnings
- Add sa_family_t typedef for Windows in platform_compat.h - Add forward declaration of struct ll_queue in ll_queue.h to fix warnings - Replace arpa/inet.h includes with platform_compat.h in: tun_linux.c, etcp_connections.c, route_lib.c, route_bgp.c, utun_instance.c, routing.c, utun.c, packet_dump.h, config_parser.c - All 22 tests pass on Linux
This commit is contained in:
1 parent
9b1d43996e
commit
c83fdeeaad
57 files changed
+9070
-9
No files matched your search
@@ -32,6 +32,9 @@
|
||||
* - dgram освобождается отдельно через queue_dgram_free() или кастомную dgram_free_fn
|
||||
*/
|
||||
|
||||
// Forward declaration
|
||||
struct ll_queue;
|
||||
|
||||
/**
|
||||
* @struct ll_entry
|
||||
* @brief Элемент очереди (переменного размера).
|
||||
|
||||
Reference in new issue
Block a user