aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/directfb/directfb/fix-compilation-with-zlib.patch
blob: 8b99b4ee72f2d38eb9acc6f3aa595f58bd859a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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