Subject: [PATCH -next] staging/rtl8187se: needs semaphore.h

From: Randy Dunlap <[email-masked]>
Date: Tue, 16 Feb 2010 14:59:07 -0800

From: Randy Dunlap <[email-masked]>

rtl8187se needs to include semaphore.h to prevent build errors:

drivers/staging/rtl8187se/ieee80211/ieee80211.h:1004: error: field 'wx_sem' has incomplete type
drivers/staging/rtl8187se/ieee80211/ieee80211.h:1005: error: field 'scan_sem' has incomplete type

Signed-off-by: Randy Dunlap <[email-masked]>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211.h |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20100216.orig/drivers/staging/rtl8187se/ieee80211/ieee80211.h
+++ linux-next-20100216/drivers/staging/rtl8187se/ieee80211/ieee80211.h
@@ -29,6 +29,7 @@
 #include <linux/jiffies.h>
 #include <linux/timer.h>
 #include <linux/sched.h>
+#include <linux/semaphore.h>
 #include <linux/wireless.h>
 #include <linux/ieee80211.h>