aboutsummaryrefslogtreecommitdiffstats
path: root/net/wpa_gui/files/patch-wpagui.cpp
blob: a922338963e21044afb20d1daefad1e5240b3fad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- wpagui.cpp.orig 2010-09-07 19:43:39.000000000 +0400
+++ wpagui.cpp  2013-11-07 14:07:50.086773239 +0400
@@ -12,10 +12,7 @@
  * See README and COPYING for more details.
  */
 
-#ifdef __MINGW32__
-/* Need to get getopt() */
 #include <unistd.h>
-#endif
 
 #ifdef CONFIG_NATIVE_WINDOWS
 #include <windows.h>
@@ -27,6 +24,8 @@
 #include <QImageReader>
 #include <QSettings>
 
+#include <getopt.h>
+
 #include "wpagui.h"
 #include "dirent.h"
 #include "common/wpa_ctrl.h"