add Xutil includes for these badboys on older X versions/solaris
authorDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 18:05:08 +0000 (18:05 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 18:05:08 +0000 (18:05 +0000)
render/font.h
render/render.h
render/test.c

index 6a6f190..8b100c7 100644 (file)
@@ -1,7 +1,5 @@
 #ifndef __font_h
 #define __font_h
-#define _XFT_NO_COMPAT_ /* no Xft 1 API */
-#include <X11/Xft/Xft.h>
 #include "render.h"
 #include "geom.h"
 
index e90b6fe..3ddde71 100644 (file)
@@ -1,10 +1,9 @@
 #ifndef __render_h
 #define __render_h
 
-#define _XFT_NO_COMPAT_ /* no Xft 1 API */
 #include <X11/Xlib.h> /* some platforms dont include this as needed for Xft */
+#define _XFT_NO_COMPAT_ /* no Xft 1 API */
 #include <X11/Xft/Xft.h>
-#include <X11/Xlib.h>
 #include <glib.h>
 
 typedef union  _RrTextureData      RrTextureData;
index 38cd7a9..58a95cf 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <X11/Xlib.h>
+#include <X11/Xutil.h>
 #include <X11/extensions/shape.h>
 #include <string.h>
 #include <stdlib.h>