Browse Source

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.

Ryan Hill 17 years ago
parent
commit
748e54937d

+ 1 - 0
wpa_supplicant/wpa_gui/networkconfig.ui.h

@@ -10,6 +10,7 @@
 ** destructor.
 *****************************************************************************/
 
+#include <stdlib.h>
 
 enum {
     AUTH_NONE = 0,

+ 2 - 0
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;

+ 1 - 0
wpa_supplicant/wpa_gui/wpagui.ui.h

@@ -16,6 +16,7 @@
 #include <unistd.h>
 #endif
 
+#include <stdlib.h>
 
 void WpaGui::init()
 {