summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2011-01-12 20:30:28 +0900
committerAkira TAGOH <akira@tagoh.org>2011-01-12 20:30:28 +0900
commit57511fd271834f6f6f7b6f396c451afd6241a6c4 (patch)
tree5735cc4dbaba877bcaf9e1696a3697af6715bea0 /devices
parentaaf15a22d1ec70e3be81443e147e0523f2f5cb5c (diff)
clean up hgmacros.h
Diffstat (limited to 'devices')
-rw-r--r--devices/cairo/Makefile.am1
-rw-r--r--devices/cairo/cairo-main.c2
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"