diff options
author | Adam Tkac <atkac@redhat.com> | 2009-11-12 10:38:13 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2009-11-12 10:38:13 +0000 |
commit | 881b77c7e7febe4a32cd4ffb72213766b325ff36 (patch) | |
tree | 269a15facf37d88f668b28e66271c5a518e5d860 /unix/xserver | |
parent | b54031acf950571c167e51c250bd1fdb4ff765d2 (diff) | |
download | tigervnc-881b77c7e7febe4a32cd4ffb72213766b325ff36.tar.gz tigervnc-881b77c7e7febe4a32cd4ffb72213766b325ff36.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/trunk@3920 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver')
-rw-r--r-- | unix/xserver/hw/vnc/vncExtInit.cc | 2 |
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> |