Hi, This add the putenv defined into utils.h. Usually putenv is found in stdlib.h but it protected by on Linux, so it not included. #if defined __USE_SVID || defined __USE_XOPEN
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32696 Best Regards Alistair Leslie-Hughes
>From f1dad4e38b0af86b33238e65ba8e1c3c49fc35d4 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes <leslie_alist...@hotmail.com> Date: Sat, 23 Apr 2011 13:49:22 +1000 Subject: [PATCH] Stop warning of putenv Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32696 Signed-off-by: Alistair Leslie-Hughes <leslie_alist...@hotmail.com> --- src/util.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/util.h b/src/util.h index 216e9d9..2abec55 100644 --- a/src/util.h +++ b/src/util.h @@ -89,6 +89,8 @@ extern Status I18N_GetIconName( Display *dpy, Window win, char **iconname); extern void SetFocus ( TwmWindow *tmp_win, Time time ); extern void Bell ( int type, int percent, Window win ); +extern int putenv(char *s); + extern int HotX, HotY; #define WM_BELL 0 -- 1.7.1
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel