diff options
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" |