]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile with crappy linux headers.
authorRoy Marples <roy@marples.name>
Fri, 23 Jan 2009 23:36:18 +0000 (23:36 +0000)
committerRoy Marples <roy@marples.name>
Fri, 23 Jan 2009 23:36:18 +0000 (23:36 +0000)
if-linux.c

index 937b4ad0cd733f37e6e98452d46cda08c2babd1a..6763c2b88fca89a4ee485898f8496c92d7618814 100644 (file)
 #include <sys/param.h>
 
 #include <arpa/inet.h>
+#include <net/if.h>
+#include <netinet/ether.h>
+#include <netpacket/packet.h>
+
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>
 #include <linux/wireless.h>
-#include <netinet/ether.h>
-#include <netpacket/packet.h>
 
 # define SIOCGIWNAME 0x8B01
 /* FIXME: Some linux kernel verisons DO NOT like this include