aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_gui
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2008-03-12 07:39:25 (GMT)
committerJouni Malinen <j@w1.fi>2008-03-12 07:39:25 (GMT)
commit748e54937d766a92cc1205b6a56315cf983334fb (patch)
treefa6b54a47c941a9a8316f8ce3dc25e406ec751b4 /wpa_supplicant/wpa_gui
parentccfab35a6a3fd8f7edfb589fc02da5efc4d43742 (diff)
downloadhostap-748e54937d766a92cc1205b6a56315cf983334fb.zip
hostap-748e54937d766a92cc1205b6a56315cf983334fb.tar.gz
hostap-748e54937d766a92cc1205b6a56315cf983334fb.tar.bz2
The attached patch fixes a few build errors when compiling with GCC 4.3,
caused by a few missing header includes. It was done against 0.5.8, but still applies to 0.5.10.
Diffstat (limited to 'wpa_supplicant/wpa_gui')
-rw-r--r--wpa_supplicant/wpa_gui/networkconfig.ui.h1
-rw-r--r--wpa_supplicant/wpa_gui/userdatarequest.ui.h2
-rw-r--r--wpa_supplicant/wpa_gui/wpagui.ui.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_gui/networkconfig.ui.h b/wpa_supplicant/wpa_gui/networkconfig.ui.h
index eb7baf1..8259bfc 100644
--- a/wpa_supplicant/wpa_gui/networkconfig.ui.h
+++ b/wpa_supplicant/wpa_gui/networkconfig.ui.h
@@ -10,6 +10,7 @@
** destructor.
*****************************************************************************/
+#include <stdlib.h>
enum {
AUTH_NONE = 0,
diff --git a/wpa_supplicant/wpa_gui/userdatarequest.ui.h b/wpa_supplicant/wpa_gui/userdatarequest.ui.h
index 4b47ccd..66d4478 100644
--- a/wpa_supplicant/wpa_gui/userdatarequest.ui.h
+++ b/wpa_supplicant/wpa_gui/userdatarequest.ui.h
@@ -10,6 +10,8 @@
** destructor.
*****************************************************************************/
+#include <stdlib.h>
+
int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
{
char *tmp, *pos, *pos2;
diff --git a/wpa_supplicant/wpa_gui/wpagui.ui.h b/wpa_supplicant/wpa_gui/wpagui.ui.h
index 56fe912..678ff1b 100644
--- a/wpa_supplicant/wpa_gui/wpagui.ui.h
+++ b/wpa_supplicant/wpa_gui/wpagui.ui.h
@@ -16,6 +16,7 @@
#include <unistd.h>
#endif
+#include <stdlib.h>
void WpaGui::init()
{