hw/xwin: Fix WM_ENDSESSION crash on x86_64
authorJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 11 Sep 2013 12:36:18 +0000 (13:36 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Sat, 22 Mar 2014 18:56:46 +0000 (18:56 +0000)
We need to include xwin-config.h into winmsgwindow.c, so that _XSERVER64 is
defined, so that the layout of ScreenRec type is correct, so that it's privates
can be accessed correctly, so that the WM_GIVEUP message can be sent to the
screen window.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
hw/xwin/winmsgwindow.c

index 8067c69..59f1da5 100644 (file)
  *
  */
 
+#ifdef HAVE_XWIN_CONFIG_H
+#include <xwin-config.h>
+#endif
+
 #include "win.h"
 
 /*