ifstatus: fix musl build
This commit is contained in:
parent
619ea38c17
commit
ca6cc20571
1 changed files with 12 additions and 0 deletions
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>
|
||||
|
Loading…
Reference in a new issue