aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/Xserver.d
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/dix/Xserver.d')
-rw-r--r--xorg-server/dix/Xserver.d7
1 files changed, 6 insertions, 1 deletions
diff --git a/xorg-server/dix/Xserver.d b/xorg-server/dix/Xserver.d
index e4c9b8320..cea97e908 100644
--- a/xorg-server/dix/Xserver.d
+++ b/xorg-server/dix/Xserver.d
@@ -29,8 +29,13 @@
/*
* Xserver dtrace provider definition
*/
-
+#ifdef __APPLE__
+#define string char *
+#define pid_t uint32_t
+#define zoneid_t uint32_t
+#else
#include <sys/types.h>
+#endif
provider Xserver {
/* reqType, data, length, client id, request buffer */