view patches/icedtea-6897844-xshm.patch @ 1697:66c327225114

* Makefile.am (EXTRA_DIST): Add mkbc.c. (ICEDTEA_PATCHES): Add icedtea-6897844-xshm.patch and icedtea-linux-separate-debuginfo.patch * patches/icedtea-6897844-xshm.patch, patches/icedtea-linux-separate-debuginfo.patch: New.
author aph
date Thu, 17 Dec 2009 16:59:58 +0000
parents
children
line wrap: on
line source

--- old/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h	2009-07-17 10:36:09.000000000 -0400
+++ openjdk/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.h	2009-07-30 13:25:52.000000000 -0400
@@ -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();