void-packages/srcpkgs/ifstatus/patches/fix-musl.patch
2018-01-15 23:47:47 +01:00

12 lines
286 B
Diff

--- a/Main.h.orig 2018-01-15 23:45:03.380195836 +0100
+++ b/Main.h 2018-01-15 23:45:44.596544507 +0100
@@ -48,7 +48,9 @@
#include <sys/ioctl.h>
#include <arpa/inet.h>
+#ifdef __GLIBC__
#include <netinet/if_ether.h>
+#endif
#include <linux/netdevice.h>
#include <netinet/in.h>