diff --git a/wpa_supplicant-0.5.7-include-stdlib.h b/wpa_supplicant-0.5.7-include-stdlib.h index 7148d71..02f4509 100644 --- a/wpa_supplicant-0.5.7-include-stdlib.h +++ b/wpa_supplicant-0.5.7-include-stdlib.h @@ -1,6 +1,6 @@ diff -up wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h.atoi wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h ---- wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h.atoi 2008-02-22 11:46:35.000000000 -0500 -+++ wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h 2008-02-22 11:49:38.000000000 -0500 +--- wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h.atoi 2006-12-09 19:38:48.000000000 -0500 ++++ wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h 2008-02-22 11:51:28.000000000 -0500 @@ -10,6 +10,7 @@ ** destructor. *****************************************************************************/ @@ -9,3 +9,26 @@ diff -up wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h.atoi wpa_supplicant-0.5 enum { AUTH_NONE = 0, +diff -up wpa_supplicant-0.5.7/wpa_gui/wpagui.ui.h.atoi wpa_supplicant-0.5.7/wpa_gui/wpagui.ui.h +--- wpa_supplicant-0.5.7/wpa_gui/wpagui.ui.h.atoi 2008-02-22 14:39:19.000000000 -0500 ++++ wpa_supplicant-0.5.7/wpa_gui/wpagui.ui.h 2008-02-22 14:39:31.000000000 -0500 +@@ -16,6 +16,7 @@ + #include + #endif + ++#include + + void WpaGui::init() + { +diff -up wpa_supplicant-0.5.7/wpa_gui/userdatarequest.ui.h.atoi wpa_supplicant-0.5.7/wpa_gui/userdatarequest.ui.h +--- wpa_supplicant-0.5.7/wpa_gui/userdatarequest.ui.h.atoi 2008-02-22 14:38:32.000000000 -0500 ++++ wpa_supplicant-0.5.7/wpa_gui/userdatarequest.ui.h 2008-02-22 14:38:56.000000000 -0500 +@@ -10,6 +10,8 @@ + ** destructor. + *****************************************************************************/ + ++#include ++ + int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg) + { + char *tmp, *pos, *pos2; diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index f5743b1..fee20b8 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -82,7 +82,7 @@ Graphical User Interface for wpa_supplicant written using QT3 %patch14 -p1 -b .use-IW_ENCODE_TEMP %patch15 -p1 -b .signal-leak-fixes %patch16 -p2 -b .adhoc-freq -%patch17 -p1 -b .atoi +%patch17 -p1 -b .stdlib %build cp %{SOURCE1} ./.config