summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/x11vnc.h')
-rw-r--r--x11vnc/x11vnc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/x11vnc.h b/x11vnc/x11vnc.h
index f86dc12..482343f 100644
--- a/x11vnc/x11vnc.h
+++ b/x11vnc/x11vnc.h
@@ -47,7 +47,9 @@
#else
#define NO_X11 1
+#ifndef SKIP_NO_X11
#include "nox11.h"
+#endif
#include <rfb/keysym.h>
#endif
@@ -308,6 +310,10 @@ extern int h_errno;
(defined(__MACH__) && defined(__APPLE__))
_AIX
*/
+#if (defined(__MACH__) && defined(__APPLE__))
+#define MACOSX
+#endif
+
#ifdef IRIX_OVERLAY
#include <X11/extensions/readdisplay.h>
OpenPOWER on IntegriCloud