diff options
author | Ben Byer <bbyer@freedesktop.org> | 2009-09-27 10:35:53 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-09-27 23:32:19 -0700 |
commit | efacd7bfd08ffc0725de6f639c6afbf3b2f6c9fe (patch) | |
tree | 9a8fa5483566a049932046decb2778386a445781 /dix/Xserver.d | |
parent | b3415187e92960cbff784108b5a3a8d130dc34c5 (diff) |
Add (ok, fix) support for DTrace under OS X
(cherry picked from commit 8428a57184f542941d2c8c90e97d18e111a69dd2)
Diffstat (limited to 'dix/Xserver.d')
-rw-r--r-- | dix/Xserver.d | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dix/Xserver.d b/dix/Xserver.d index e4c9b8320..cea97e908 100644 --- a/dix/Xserver.d +++ b/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 */ |