From: Bernhard Walle Subject: [PATCH] Fix compile warning Fix following compile warning: xfsm-global.c: In function 'xfsm_load_session_preview': xfsm-global.c:148: warning: implicit declaration of function 'xfce_gdk_display_get_fullname' xfsm-global.c:148: warning: assignment makes pointer from integer without a cast That is very important on 64 bit OSes: Implicit return is int and so 32 bit. So the pointer is invalid after assignment. Signed-off-by: Bernhard Walle --- xfce4-session/xfsm-global.c | 1 + 1 file changed, 1 insertion(+) --- a/xfce4-session/xfsm-global.c +++ b/xfce4-session/xfsm-global.c @@ -43,6 +43,7 @@ #endif #include +#include #include #include