Inclusion of stdib.h all around

This commit is contained in:
Daniel Williams 2008-02-22 19:45:26 +00:00
parent b3366ca3f1
commit 8c8f86cedd
2 changed files with 26 additions and 3 deletions

View File

@ -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 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.atoi 2006-12-09 19:38:48.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 2008-02-22 11:51:28.000000000 -0500
@@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
** destructor. ** destructor.
*****************************************************************************/ *****************************************************************************/
@ -9,3 +9,26 @@ diff -up wpa_supplicant-0.5.7/wpa_gui/networkconfig.ui.h.atoi wpa_supplicant-0.5
enum { enum {
AUTH_NONE = 0, 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 <unistd.h>
#endif
+#include <stdlib.h>
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 <stdlib.h>
+
int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
{
char *tmp, *pos, *pos2;

View File

@ -82,7 +82,7 @@ Graphical User Interface for wpa_supplicant written using QT3
%patch14 -p1 -b .use-IW_ENCODE_TEMP %patch14 -p1 -b .use-IW_ENCODE_TEMP
%patch15 -p1 -b .signal-leak-fixes %patch15 -p1 -b .signal-leak-fixes
%patch16 -p2 -b .adhoc-freq %patch16 -p2 -b .adhoc-freq
%patch17 -p1 -b .atoi %patch17 -p1 -b .stdlib
%build %build
cp %{SOURCE1} ./.config cp %{SOURCE1} ./.config