summaryrefslogtreecommitdiffstats
path: root/xlib/xgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/xgc.c')
-rw-r--r--xlib/xgc.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/xlib/xgc.c b/xlib/xgc.c
index 9807e28..752df30 100644
--- a/xlib/xgc.c
+++ b/xlib/xgc.c
@@ -9,18 +9,25 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: xgc.c,v 1.5 2000/02/10 08:53:32 hobbs Exp $
+ * RCS: @(#) $Id: xgc.c,v 1.6 2002/08/31 06:12:31 das Exp $
*/
#include <tkInt.h>
+#if !defined(MAC_TCL) && !defined(MAC_OSX_TK)
+# include <X11/Xlib.h>
+#endif
#ifdef MAC_TCL
# include <Xlib.h>
# include <X.h>
# define Cursor XCursor
# define Region XRegion
-#else
+#endif
+#ifdef MAC_OSX_TK
# include <X11/Xlib.h>
+# include <X11/X.h>
+# define Cursor XCursor
+# define Region XRegion
#endif
@@ -438,7 +445,7 @@ XDrawPoints(display, d, gc, points, npoints, mode)
}
}
-#ifndef MAC_TCL
+#if !defined(MAC_TCL) && !defined(MAC_OSX_TK)
void
XDrawSegments(display, d, gc, segments, nsegments)
Display* display;