summaryrefslogtreecommitdiffstats
path: root/rfb/rfbproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfbproto.h')
-rw-r--r--rfb/rfbproto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index 29b4b08..4c85911 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -62,6 +62,10 @@
#ifdef LIBVNCSERVER_HAVE_LIBZ
#include <zlib.h>
+#ifdef __CHECKER__
+#undef Z_NULL
+#define Z_NULL NULL
+#endif
#endif