[draw] fix --with-imlib2 build

when configured with imlib2 draw.c fails to compile (at least on arch
linux), as it cannot find the gtk/gdk-pixbuf headers. The #includes are
guarded by #ifdef HAVE_IMLIB2, but as config.h isn't included, this is
never defined.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Michael Gehring 2008-06-03 11:16:25 +02:00 committed by Julien Danjou
parent 007787107c
commit c20a2cb416

View file

@ -24,6 +24,7 @@
#include <cairo-xcb.h>
#include "config.h"
#ifdef WITH_IMLIB2
#include <Imlib2.h>
#else