1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Fix build after xorg upgrade

Submitted by:	fluffy
This commit is contained in:
Martin Wilke 2010-05-02 10:44:06 +00:00
parent fd747c010f
commit 76ca5c8f9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253542

View File

@ -0,0 +1,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>