aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2008-11-11 15:36:37 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-11 15:36:37 (GMT)
commit65db6cad234114c1e1f250e03aa25e75ca6b64a2 (patch)
treed5be2e60afd480e9fe8884c704fed2b600106c6c /wpa_supplicant
parent46690a3b9bdb226e3a8a66315cc9e9db3ed5cf72 (diff)
downloadhostap-06-65db6cad234114c1e1f250e03aa25e75ca6b64a2.zip
hostap-06-65db6cad234114c1e1f250e03aa25e75ca6b64a2.tar.gz
hostap-06-65db6cad234114c1e1f250e03aa25e75ca6b64a2.tar.bz2
wpa_gui-qt4: FTBFS with GCC 4.4: missing #include
GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.. -I../../src/utils -I../../src/common -I.moc -I.ui -o .obj/wpagui.o wpagui.cpp > wpagui.cpp: In constructor 'WpaGui::WpaGui(QWidget*, const char*, Qt::WFlags)': > wpagui.cpp:98: error: 'printf' was not declared in this scope From: Martin Michlmayr <tbm@cyrius.com> Bug: http://bugs.debian.org/505041 Signed-off-by: Kel Modderman <kel@otaku42.de>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wpa_gui-qt4/networkconfig.cpp1
-rw-r--r--wpa_supplicant/wpa_gui-qt4/scanresults.cpp2
-rw-r--r--wpa_supplicant/wpa_gui-qt4/wpagui.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp b/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
index ea8f477..b963a7e 100644
--- a/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp
@@ -12,6 +12,7 @@
* See README and COPYING for more details.
*/
+#include <cstdio>
#include <QMessageBox>
#include "networkconfig.h"
diff --git a/wpa_supplicant/wpa_gui-qt4/scanresults.cpp b/wpa_supplicant/wpa_gui-qt4/scanresults.cpp
index bceef8a..459aa8c 100644
--- a/wpa_supplicant/wpa_gui-qt4/scanresults.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/scanresults.cpp
@@ -12,6 +12,8 @@
* See README and COPYING for more details.
*/
+#include <cstdio>
+
#include "scanresults.h"
#include "wpagui.h"
#include "networkconfig.h"
diff --git a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
index f4847c0..8f73967 100644
--- a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
@@ -17,6 +17,7 @@
#include <unistd.h>
#endif
+#include <cstdio>
#include <QMessageBox>
#include <QCloseEvent>