summaryrefslogtreecommitdiff
path: root/java/jdk13/files/patch-j2sdk1.3.1-awt-awt_Graphics.c
blob: 7185aadff121def964bf9ea8bcd71a49849531ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$FreeBSD$

--- ../src/solaris/native/sun/awt/awt_Graphics.c	2010-04-16 21:28:02.000000000 +1100
+++ ../src/solaris/native/sun/awt/awt_Graphics.c	2010-04-16 21:39:52.635333540 +1100
@@ -60,6 +60,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();