The attached patch fixes a few build errors when compiling with GCC 4.3,
authorRyan Hill <dirtyepic@gentoo.org>
Wed, 12 Mar 2008 07:39:25 +0000 (09:39 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 12 Mar 2008 07:39:25 +0000 (09:39 +0200)
caused by a few missing header includes. It was done against 0.5.8, but
still applies to 0.5.10.

wpa_supplicant/wpa_gui/networkconfig.ui.h
wpa_supplicant/wpa_gui/userdatarequest.ui.h
wpa_supplicant/wpa_gui/wpagui.ui.h

index eb7baf1..8259bfc 100644 (file)
@@ -10,6 +10,7 @@
 ** destructor.
 *****************************************************************************/
 
+#include <stdlib.h>
 
 enum {
     AUTH_NONE = 0,
index 4b47ccd..66d4478 100644 (file)
@@ -10,6 +10,8 @@
 ** destructor.
 *****************************************************************************/
 
+#include <stdlib.h>
+
 int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
 {
     char *tmp, *pos, *pos2;
index 56fe912..678ff1b 100644 (file)
@@ -16,6 +16,7 @@
 #include <unistd.h>
 #endif
 
+#include <stdlib.h>
 
 void WpaGui::init()
 {