Upstream-Status: Pending

From 1d6d597050fc24769e9df2693f754bdc824a8b78 Mon Sep 17 00:00:00 2001
From: Laurentiu Palcu <laurentiu.palcu@intel.com>
Date: Tue, 3 Jul 2012 16:06:10 +0300
Subject: [PATCH] fix compilation with zlib

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 src/core/surface.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/core/surface.c b/src/core/surface.c
index 50434a2..52f50ab 100644
--- a/src/core/surface.c
+++ b/src/core/surface.c
@@ -49,6 +49,9 @@
 #include <gfx/convert.h>
 #include <gfx/util.h>
 
+#ifdef USE_ZLIB
+#include <zlib.h>
+#endif
 
 D_DEBUG_DOMAIN( Core_Surface, "Core/Surface", "DirectFB Core Surface" );
 
-- 
1.7.9.5

