]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Some distros need additional headers to compile linux/wireless.h
authorRoy Marples <roy@marples.name>
Sun, 3 May 2009 12:33:24 +0000 (12:33 +0000)
committerRoy Marples <roy@marples.name>
Sun, 3 May 2009 12:33:24 +0000 (12:33 +0000)
if-linux-wireless.c

index 0c7a38311fa9c3b34e5e20024f8248dc6c9f4613..f6f7366db59210b1a529be16ee0dcb6f120d3e78 100644 (file)
@@ -44,6 +44,7 @@
 #include <linux/rtnetlink.h>
 /* Support older kernels */
 #ifdef IFLA_WIRELESS
+# include <linux/if.h>
 # include <linux/wireless.h>
 #else
 # define IFLA_WIRELESS (IFLA_MASTER + 1)