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:
John Zimmermann 2018-05-18 00:23:10 +02:00 committed by Denis Kenzior
parent 5c5bfbb423
commit 37173350e2
1 changed files with 2 additions and 2 deletions

View File

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