equal
deleted
inserted
replaced
40 #ifdef MITSHM |
40 #ifdef MITSHM |
41 |
41 |
42 #include <sys/ipc.h> |
42 #include <sys/ipc.h> |
43 #include <sys/shm.h> |
43 #include <sys/shm.h> |
44 #include <X11/extensions/XShm.h> |
44 #include <X11/extensions/XShm.h> |
|
45 #ifndef X_ShmAttach |
|
46 #include <X11/Xmd.h> |
|
47 #include <X11/extensions/shmproto.h> |
|
48 #endif |
45 |
49 |
46 extern int XShmQueryExtension(); |
50 extern int XShmQueryExtension(); |
47 |
51 |
48 void TryInitMITShm(JNIEnv *env, jint *shmExt, jint *shmPixmaps); |
52 void TryInitMITShm(JNIEnv *env, jint *shmExt, jint *shmPixmaps); |
49 void resetXShmAttachFailed(); |
53 void resetXShmAttachFailed(); |