Blame SOURCES/libnl3-includes.patch

a6b4ce
diff -up wpa_supplicant-1.0-rc2/src/drivers/drivers.mak.foo wpa_supplicant-1.0-rc2/src/drivers/drivers.mak
a6b4ce
--- wpa_supplicant-1.0-rc2/src/drivers/drivers.mak.foo	2012-03-02 16:11:43.176448714 -0600
a6b4ce
+++ wpa_supplicant-1.0-rc2/src/drivers/drivers.mak	2012-03-02 16:12:29.759866341 -0600
a6b4ce
@@ -48,7 +48,7 @@ NEED_RFKILL=y
a6b4ce
 ifdef CONFIG_LIBNL32
a6b4ce
   DRV_LIBS += -lnl-3
a6b4ce
   DRV_LIBS += -lnl-genl-3
a6b4ce
-  DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
a6b4ce
+  DRV_CFLAGS += -DCONFIG_LIBNL20 `pkg-config --cflags libnl-3.0`
a6b4ce
 else
a6b4ce
   ifdef CONFIG_LIBNL_TINY
a6b4ce
     DRV_LIBS += -lnl-tiny