add Xutil includes for these badboys on older X versions/solaris
Dana Jansens danakj@orodu.net
3 files changed,
2 insertions(+),
4 deletions(-)
M
render/font.h
→
render/font.h
@@ -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"
M
render/render.h
→
render/render.h
@@ -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;
M
render/test.c
→
render/test.c
@@ -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>