[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:
parent
007787107c
commit
c20a2cb416
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <cairo-xcb.h>
|
||||
|
||||
#include "config.h"
|
||||
#ifdef WITH_IMLIB2
|
||||
#include <Imlib2.h>
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue