summaryrefslogtreecommitdiff
path: root/testing/wpa_supplicant_gui/compile-fix.patch
blob: 3303b3699bd8d81ed61e41fee62eab3c1da81b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -u -r wpa_supplicant-1.0/wpa_supplicant/wpa_gui-qt4/wpagui.cpp wpa_supplicant-1.0-fix/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
--- wpa_supplicant-1.0/wpa_supplicant/wpa_gui-qt4/wpagui.cpp	2012-05-09 23:56:09.000000000 +0200
+++ wpa_supplicant-1.0-fix/wpa_supplicant/wpa_gui-qt4/wpagui.cpp	2012-06-25 12:06:46.045261398 +0200
@@ -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>