[Goodies-commits] r2331 - in xfce4-wavelan-plugin/trunk: . panel-plugin

James Westby jamesw at xfce.org
Wed Jan 10 20:05:03 CET 2007


Author: jamesw
Date: 2007-01-10 19:05:02 +0000 (Wed, 10 Jan 2007)
New Revision: 2331

Modified:
   xfce4-wavelan-plugin/trunk/ChangeLog
   xfce4-wavelan-plugin/trunk/panel-plugin/wi_linux.c
Log:
	* Include more kernel headers in wi_linux.c as newer kernels don't
	  do it for you when you are in userspace. Thanks to Maximilian Schleiss
		for help debugging.


Modified: xfce4-wavelan-plugin/trunk/ChangeLog
===================================================================
--- xfce4-wavelan-plugin/trunk/ChangeLog	2007-01-10 16:48:59 UTC (rev 2330)
+++ xfce4-wavelan-plugin/trunk/ChangeLog	2007-01-10 19:05:02 UTC (rev 2331)
@@ -1,5 +1,11 @@
-2207-01-09 20:24  james
+2007-01-10 19:02  james
 
+	* Include more kernel headers in wi_linux.c as newer kernels don't
+	  do it for you when you are in userspace. Thanks to Maximilian Schleiss
+		for help debugging.
+
+2007-01-09 20:24  james
+
 	* Add a check for libxfce4util in ./configure as it is possible to have
 	  the panel headers without the util headers. I haven't used libs and 
 		cflags which is probably a bug.

Modified: xfce4-wavelan-plugin/trunk/panel-plugin/wi_linux.c
===================================================================
--- xfce4-wavelan-plugin/trunk/panel-plugin/wi_linux.c	2007-01-10 16:48:59 UTC (rev 2330)
+++ xfce4-wavelan-plugin/trunk/panel-plugin/wi_linux.c	2007-01-10 19:05:02 UTC (rev 2331)
@@ -41,6 +41,12 @@
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 
+/* On newer linux headers these need to be
+ * included first. It is probably a losing
+ * battle though.
+ */
+#include <linux/types.h>
+#include <linux/if.h>
 
 /* Require wireless extensions */
 #include <linux/wireless.h> 




More information about the Goodies-commits mailing list