From c20a2cb41687b8a60ed6308a659ddc70a56afb2f Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 3 Jun 2008 11:16:25 +0200 Subject: [PATCH] [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 --- common/draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/draw.c b/common/draw.c index c1373005..0be52ecb 100644 --- a/common/draw.c +++ b/common/draw.c @@ -24,6 +24,7 @@ #include +#include "config.h" #ifdef WITH_IMLIB2 #include #else