diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-08-31 20:52:43 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-08-31 20:52:43 -0400 |
commit | 740fed62d236224fdfbfccf8c49a199851189107 (patch) | |
tree | 28b4f2e53b0962e7727f23603bd790d9a10148de /src/cairo-xlib-private.h | |
parent | c8ed3e1827dd1e6e85f2a40de67c4013432ba3bf (diff) |
[xlib] Make it compile without Xrender available at compile time (#12210)
Diffstat (limited to 'src/cairo-xlib-private.h')
-rw-r--r-- | src/cairo-xlib-private.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cairo-xlib-private.h b/src/cairo-xlib-private.h index 6157775a..9b806eec 100644 --- a/src/cairo-xlib-private.h +++ b/src/cairo-xlib-private.h @@ -35,8 +35,11 @@ #include "cairoint.h" #include "cairo-xlib.h" +#include "cairo-xlib-xrender-private.h" #include "cairo-freelist-private.h" +#include <X11/Xutil.h> /* for XDestroyImage */ + typedef struct _cairo_xlib_display cairo_xlib_display_t; typedef struct _cairo_xlib_hook cairo_xlib_hook_t; typedef struct _cairo_xlib_job cairo_xlib_job_t; @@ -121,11 +124,4 @@ _cairo_xlib_screen_get_gc (cairo_xlib_screen_info_t *info, int depth); cairo_private cairo_status_t _cairo_xlib_screen_put_gc (cairo_xlib_screen_info_t *info, int depth, GC gc, cairo_bool_t reset_clip); -#if CAIRO_HAS_XLIB_XRENDER_SURFACE - -#include "cairo-xlib-xrender.h" -slim_hidden_proto (cairo_xlib_surface_create_with_xrender_format); - -#endif - #endif /* CAIRO_XLIB_PRIVATE_H */ |