File 0001-Build-fix.patch of Package NetworkManager-gnome
From 3b1f7ce1e4f58b272dfe2d6cf91938a03b52ad54 Mon Sep 17 00:00:00 2001
From: Tambet Ingo <tambet@gmail.com>
Date: Tue, 13 Jan 2009 13:34:34 +0200
Subject: [PATCH] Build fix.
diff --git a/configure.ac b/configure.ac
index 293de81..bc92172 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,8 +166,7 @@ AC_TRY_COMPILE([#ifndef __user
#include <sys/types.h>
#include <linux/types.h>
#include <sys/socket.h>
- #include <net/if.h>
- #include <wireless.h>],
+ #include <linux/wireless.h>],
[#ifndef IWEVGENIE
#error "not found"
#endif],
diff --git a/src/wireless-helper.h b/src/wireless-helper.h
index ffef449..285dfea 100644
--- a/src/wireless-helper.h
+++ b/src/wireless-helper.h
@@ -28,6 +28,5 @@
#include <sys/types.h>
#include <linux/types.h>
#include <sys/socket.h>
-#include <net/if.h>
-#include <wireless.h>
+#include <linux/wireless.h>
--
1.6.0.2