changeset 1753:90bdc961b3cb

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 634221297c37
children ba01efbf7c70
files src/solaris/native/sun/awt/awt_GraphicsEnv.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/sun/awt/awt_GraphicsEnv.h	Fri Oct 30 19:19:35 2009 +0100
+++ b/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();