aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-11-12 10:38:13 +0000
committerAdam Tkac <atkac@redhat.com>2009-11-12 10:38:13 +0000
commit6100fabf1de0fdf3167530867371f82387b4d073 (patch)
tree4d9f9e48b83be767154a6711be9670512a826cb7
parent2f8abf0759d0a05819ba4b6317dd155bb83d61a0 (diff)
downloadtigervnc-6100fabf1de0fdf3167530867371f82387b4d073.tar.gz
tigervnc-6100fabf1de0fdf3167530867371f82387b4d073.zip
[Bugfix] Define "public" structure members as "c_public" in C includes in
vncExtInit.cc (alan dot coopersmith at sun dot com) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3920 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--unix/xserver/hw/vnc/vncExtInit.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/vncExtInit.cc b/unix/xserver/hw/vnc/vncExtInit.cc
index a15a77b4..0364adc4 100644
--- a/unix/xserver/hw/vnc/vncExtInit.cc
+++ b/unix/xserver/hw/vnc/vncExtInit.cc
@@ -24,6 +24,7 @@
extern "C" {
#define class c_class
+#define public c_public
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
@@ -38,6 +39,7 @@ extern "C" {
#include "vncExt.h"
#undef class
#undef xalloc
+#undef public
}
#include <rfb/Configuration.h>