summaryrefslogtreecommitdiffstats
path: root/if-linux.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-23 19:20:14 +0000
committerRoy Marples <roy@marples.name>2009-02-23 19:20:14 +0000
commitab40c070d66713655a4d3e8839819ebab89e8529 (patch)
tree2d7f0d105b6e8924bc0880a197ef6f289f2663b3 /if-linux.c
parentd1dde3c8b44469a6d4370a41d30ea1de014d678f (diff)
downloaddhcpcd-ab40c070d66713655a4d3e8839819ebab89e8529.tar.xz
We need to include linux/wireless.h as wireless.h belongs to wireless-tools
Diffstat (limited to 'if-linux.c')
-rw-r--r--if-linux.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/if-linux.c b/if-linux.c
index 26f08c07..80dc1c1c 100644
--- a/if-linux.c
+++ b/if-linux.c
@@ -52,10 +52,8 @@
/* 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