summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-xpm.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-07-06 08:15:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-07-06 08:15:50 -0400
commit72039b66e4c87b80c6f98243032a51c81d4232ab (patch)
tree91bd8f1dff4a1a4349fdd5359b8691d975caa379 /gdk-pixbuf/io-xpm.c
parent92585fcb8b5a3a4d82d9612b04297bfe7c2cae4b (diff)
downloadgdk-pixbuf-72039b66e4c87b80c6f98243032a51c81d4232ab.tar.gz
Include alias header when using built-in loaders
If we're building a loader like png into gdk-pixbuf, we need to include the alias header. Otherwise we get internal PLT entries, which makes make check fail. https://bugzilla.gnome.org/show_bug.cgi?id=623314
Diffstat (limited to 'gdk-pixbuf/io-xpm.c')
-rw-r--r--gdk-pixbuf/io-xpm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c
index 5d7becec4..558609eb3 100644
--- a/gdk-pixbuf/io-xpm.c
+++ b/gdk-pixbuf/io-xpm.c
@@ -34,6 +34,12 @@
#include <errno.h>
#include "gdk-pixbuf-private.h"
#include <glib/gstdio.h>
+
+#ifdef INCLUDE_xpm
+#include "gdk-pixbuf-alias.h"
+#endif
+
+
/* I have must have done something to deserve this.