ifstatus: fix musl build

This commit is contained in:
Enno Boland 2018-01-15 23:47:47 +01:00
parent 619ea38c17
commit ca6cc20571
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View 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>