changeset 1307:a2b48a7506fd draft

Some distros need additional headers to compile linux/wireless.h
author Roy Marples <roy@marples.name>
date Sun, 03 May 2009 12:33:24 +0000
parents 76bf2c6eb8a4
children d0bdfb2cca66
files if-linux-wireless.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/if-linux-wireless.c	Sun May 03 06:17:07 2009 +0000
+++ b/if-linux-wireless.c	Sun May 03 12:33:24 2009 +0000
@@ -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)