diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-09-11 13:36:18 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2014-03-22 18:56:46 +0000 |
commit | 0e5d2996ac872aca5995897fc518bdf9116bd246 (patch) | |
tree | e51bf93df082563de13c3aa60b889a5dc5e09918 /hw | |
parent | 896b53ffa72d91d7d604967028291525562b60dd (diff) |
hw/xwin: Fix WM_ENDSESSION crash on x86_64
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xwin/winmsgwindow.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xwin/winmsgwindow.c b/hw/xwin/winmsgwindow.c index 8067c693c..59f1da503 100644 --- a/hw/xwin/winmsgwindow.c +++ b/hw/xwin/winmsgwindow.c @@ -22,6 +22,10 @@ * */ +#ifdef HAVE_XWIN_CONFIG_H +#include <xwin-config.h> +#endif + #include "win.h" /* |