aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/include/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/include/misc.h')
-rw-r--r--nx-X11/programs/Xserver/include/misc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/include/misc.h b/nx-X11/programs/Xserver/include/misc.h
index 849f1b5cc..1576f1433 100644
--- a/nx-X11/programs/Xserver/include/misc.h
+++ b/nx-X11/programs/Xserver/include/misc.h
@@ -81,6 +81,11 @@ extern unsigned long serverGeneration;
#include <X11/Xfuncproto.h>
#include <X11/Xmd.h>
#include <X11/X.h>
+
+#ifndef _XTYPEDEF_POINTER
+/* Don't let Xdefs.h define 'pointer' */
+#define _XTYPEDEF_POINTER 1
+#endif /* _XTYPEDEF_POINTER */
#include <X11/Xdefs.h>
#ifndef IN_MODULE