]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We need to include linux/wireless.h as wireless.h belongs to wireless-tools
authorRoy Marples <roy@marples.name>
Mon, 23 Feb 2009 19:20:14 +0000 (19:20 +0000)
committerRoy Marples <roy@marples.name>
Mon, 23 Feb 2009 19:20:14 +0000 (19:20 +0000)
if-linux.c

index 26f08c07c3f7272bed49593a37df178fe84ccd1e..80dc1c1ce87fa7f638c642dd4dfb85f98b33b452 100644 (file)
 
 /* Support older kernels */
 #ifdef IFLA_WIRELESS
-# ifndef __user
-#  define __user
-# endif
-# include <wireless.h>
+# include <linux/if.h>
+# include <linux/wireless.h>
 #else
 # define IFLA_WIRELESS (IFLA_MASTER + 1)
 #endif