diff options
author | Akira TAGOH <akira@tagoh.org> | 2011-01-12 20:30:28 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2011-01-12 20:30:28 +0900 |
commit | 57511fd271834f6f6f7b6f396c451afd6241a6c4 (patch) | |
tree | 5735cc4dbaba877bcaf9e1696a3697af6715bea0 /devices/cairo | |
parent | aaf15a22d1ec70e3be81443e147e0523f2f5cb5c (diff) |
clean up hgmacros.h
Diffstat (limited to 'devices/cairo')
-rw-r--r-- | devices/cairo/Makefile.am | 1 | ||||
-rw-r--r-- | devices/cairo/cairo-main.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/devices/cairo/Makefile.am b/devices/cairo/Makefile.am index 8047536..c2824d1 100644 --- a/devices/cairo/Makefile.am +++ b/devices/cairo/Makefile.am @@ -6,6 +6,7 @@ INCLUDES = \ $(CAIRO_CFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/hieroglyph \ + -DHG_COMPILATION \ $(NULL) LIBS = \ @LDFLAGS@ \ diff --git a/devices/cairo/cairo-main.c b/devices/cairo/cairo-main.c index 912c541..8a07e15 100644 --- a/devices/cairo/cairo-main.c +++ b/devices/cairo/cairo-main.c @@ -29,6 +29,8 @@ #include <X11/Xlib.h> #include <X11/Xutil.h> #include <cairo/cairo-xlib.h> +/* GLib is still needed for the mutex lock */ +#include <glib.h> #include "hgarray.h" #include "hgerror.h" #include "hggstate.h" |