summaryrefslogtreecommitdiffstats
path: root/main/wpa_supplicant/wpa_supplicant-1.0-wpagui-getopt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/wpa_supplicant/wpa_supplicant-1.0-wpagui-getopt.patch')
-rw-r--r--main/wpa_supplicant/wpa_supplicant-1.0-wpagui-getopt.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/wpa_supplicant/wpa_supplicant-1.0-wpagui-getopt.patch b/main/wpa_supplicant/wpa_supplicant-1.0-wpagui-getopt.patch
new file mode 100644
index 000000000..30dd14f22
--- /dev/null
+++ b/main/wpa_supplicant/wpa_supplicant-1.0-wpagui-getopt.patch
@@ -0,0 +1,13 @@
+--- ./wpa_supplicant/wpa_gui-qt4/wpagui.cpp.orig 2013-01-23 19:04:49.020020133 +0000
++++ ./wpa_supplicant/wpa_gui-qt4/wpagui.cpp 2013-01-23 19:05:26.210331644 +0000
+@@ -12,10 +12,8 @@
+ * See README and COPYING for more details.
+ */
+
+-#ifdef __MINGW32__
+ /* Need to get getopt() */
+ #include <unistd.h>
+-#endif
+
+ #ifdef CONFIG_NATIVE_WINDOWS
+ #include <windows.h>