aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-10-25 14:51:26 +0000
committerkraxel <kraxel>2006-10-25 14:51:26 +0000
commita1dfab9d3d91fc05412eda680550c6b2f8301184 (patch)
tree8ef2a409c76ea695b265a15bcc9e5e773b7040c4
parent397fcd38d34e02a73dc0d05e41562a82e608e203 (diff)
downloadxenwatch-a1dfab9d3d91fc05412eda680550c6b2f8301184.tar.gz
build w/o vnc§
-rw-r--r--vnc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/vnc.h b/vnc.h
index c8ec360..57bd70b 100644
--- a/vnc.h
+++ b/vnc.h
@@ -1,5 +1,9 @@
#include <X11/Xlib.h>
-#include <rfb/rfbclient.h>
+#ifdef HAVE_VNC
+# include <rfb/rfbclient.h>
+#else
+typedef struct { int dummy } rfbClient;
+#endif
struct vnc_window {
/* vnc connection */