wpa_gui: Fix compilation with gcc/g++ 4.7

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
intended-for: hostap-1
This commit is contained in:
Cyril Brulebois 2012-07-04 21:01:04 +03:00 committed by Jouni Malinen
parent b9b12d02f0
commit 46d69fa5c6

View file

@ -6,16 +6,12 @@
* See README for more details.
*/
#ifdef __MINGW32__
/* Need to get getopt() */
#include <unistd.h>
#endif
#ifdef CONFIG_NATIVE_WINDOWS
#include <windows.h>
#endif /* CONFIG_NATIVE_WINDOWS */
#include <cstdio>
#include <unistd.h>
#include <QMessageBox>
#include <QCloseEvent>
#include <QImageReader>