summaryrefslogtreecommitdiff
path: root/net/x11vnc/files/patch-x11vnc__x11vnc.h
blob: 7dd05a21f4a9b067ab12d896d62672c8743f78eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- x11vnc/x11vnc.h.orig	2009-03-16 08:04:58.000000000 +1000
+++ x11vnc/x11vnc.h	2010-04-30 23:48:55.249699749 +1100
@@ -266,6 +266,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
 #endif
 #if LIBVNCSERVER_HAVE_SHMAT
 #include <sys/ipc.h>