OpenJDK / amber / amber
changeset 4251:7d3154406018
6897844: Fix broken build on newer versions of X11 (libXext >= 1.1.0)
Summary: Recent changes to X11's header structure break the build
Reviewed-by: prr, flar
author | andrew |
---|---|
date | Tue, 03 Nov 2009 23:23:15 +0000 |
parents | e88776b21913 |
children | 0e645080f74b |
files | jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h Fri Oct 30 19:19:35 2009 +0100 +++ b/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h Tue Nov 03 23:23:15 2009 +0000 @@ -42,6 +42,10 @@ #include <sys/ipc.h> #include <sys/shm.h> #include <X11/extensions/XShm.h> +#ifndef X_ShmAttach +#include <X11/Xmd.h> +#include <X11/extensions/shmproto.h> +#endif extern int XShmQueryExtension();