1
1
Files
zyxel-vmg8825_b50b-cfw/package/libs/libnl/patches-3.2.21/0012-fix-build-with-musl.patch
T
2026-04-17 18:33:03 +02:00

15 lines
322 B
Diff
Executable File

--- a/include/netlink/netlink.h
+++ b/include/netlink/netlink.h
@@ -16,7 +16,11 @@
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
+#if defined(__GLIBC__) || defined(__UCLIBC__)
#include <sys/poll.h>
+#else
+#include <poll.h>
+#endif
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/time.h>