2 * Don't #include any of the AppKit, etc stuff directly since it will
3 * pollute the X11 namespace.
6 #ifndef _XQ_SANITIZED_CARBON_H_
7 #define _XQ_SANITIZED_CARBON_H_
9 // QuickDraw in ApplicationServices has the following conflicts with
10 // the basic X server headers. Use QD_<name> to use the QuickDraw
11 // definition of any of these symbols, or the normal name for the
13 #define Cursor QD_Cursor
14 #define WindowPtr QD_WindowPtr
15 #define Picture QD_Picture
17 #define EventType HIT_EventType
19 #include <ApplicationServices/ApplicationServices.h>
20 #include <CoreServices/CoreServices.h>
21 #include <Carbon/Carbon.h>
22 #include <IOKit/hidsystem/event_status_driver.h>
23 #include <IOKit/hidsystem/ev_keymap.h>
24 #include <architecture/byte_order.h> // For the NXSwap*
32 #endif /* _XQ_SANITIZED_CARBON_H_ */