summaryrefslogtreecommitdiff
path: root/java/openjdk8/files/patch-jdk-src-solaris-native-sun-awt-wsutils.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/openjdk8/files/patch-jdk-src-solaris-native-sun-awt-wsutils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-jdk-src-solaris-native-sun-awt-wsutils.h b/java/openjdk8/files/patch-jdk-src-solaris-native-sun-awt-wsutils.h
new file mode 100644
index 000000000000..330c809403d2
--- /dev/null
+++ b/java/openjdk8/files/patch-jdk-src-solaris-native-sun-awt-wsutils.h
@@ -0,0 +1,11 @@
+--- jdk/src/solaris/native/sun/awt/wsutils.h
++++ jdk/src/solaris/native/sun/awt/wsutils.h
+@@ -70,7 +70,7 @@ from The Open Group.
+ *
+ ******************************************************************************/
+
+-typedef unsigned long Pixel;
++#include <X11/Intrinsic.h> /* For Pixel */
+
+ /* This is the actual structure returned by the X server describing the
+ * SERVER_OVERLAY_VISUAL property.