ifstatus: fix musl build
This commit is contained in:
12
srcpkgs/ifstatus/patches/fix-musl.patch
Normal file
12
srcpkgs/ifstatus/patches/fix-musl.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- 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>
|
||||
|
||||
Reference in New Issue
Block a user