mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
monitor: move inclusion of linux headers after libc ones
to fix compilation against MUSL libc. The struct ethhdr does exists in netinet/if_ether.h and linux/if_ether.h so including the linux headers after the libc headers lets libc_compat.h work as intended.
This commit is contained in:
parent
5c5bfbb423
commit
37173350e2
@ -31,6 +31,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <netinet/ether.h>
|
||||
#include <linux/if.h>
|
||||
#include <linux/if_packet.h>
|
||||
#include <linux/if_ether.h>
|
||||
@ -38,8 +40,6 @@
|
||||
#include <linux/genetlink.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <linux/filter.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <netinet/ether.h>
|
||||
#include <ell/ell.h>
|
||||
|
||||
#ifndef ARPHRD_NETLINK
|
||||
|
Loading…
Reference in New Issue
Block a user