summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw
diff options
context:
space:
mode:
Diffstat (limited to 'unix/xserver/hw')
-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>