]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
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 eb7baf173c39f559b11e47be41f036c9cc865fb5..8259bfc7eaaa182f62d9316daebd94a5774ee367 100644 (file)
@@ -10,6 +10,7 @@
 ** destructor.
 *****************************************************************************/
 
+#include <stdlib.h>
 
 enum {
     AUTH_NONE = 0,
index 4b47ccdbad0d641b251c3c11217877df2277c045..66d4478d23e24429e57d96ac563b7dc8000f36e8 100644 (file)
@@ -10,6 +10,8 @@
 ** destructor.
 *****************************************************************************/
 
+#include <stdlib.h>
+
 int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
 {
     char *tmp, *pos, *pos2;
index 56fe912fe63c8ace6493e36d67a7442017954154..678ff1be354b43396c8a035b8f883b2b97189a42 100644 (file)
@@ -16,6 +16,7 @@
 #include <unistd.h>
 #endif
 
+#include <stdlib.h>
 
 void WpaGui::init()
 {