From e4b83493c9509adaa286ebc6a50136cd3d85eb15 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 21 Aug 2011 20:40:58 +0100 Subject: zbedic: fix compilation on newer systems Add include for stdlib.h which seems to no longer be included automatically on modern systems. Signed-off-by: Paul Eggleton --- recipes-qtopia/zbedic/zbedic/stdlib_h.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-qtopia/zbedic/zbedic/stdlib_h.patch (limited to 'recipes-qtopia/zbedic/zbedic') diff --git a/recipes-qtopia/zbedic/zbedic/stdlib_h.patch b/recipes-qtopia/zbedic/zbedic/stdlib_h.patch new file mode 100644 index 0000000..e02fcca --- /dev/null +++ b/recipes-qtopia/zbedic/zbedic/stdlib_h.patch @@ -0,0 +1,14 @@ +Include stdlib.h for the abs() function. + +Signed-off-by: Paul Eggleton + +--- zbedic-1.2.orig/src/settings.cpp ++++ zbedic-1.2/src/settings.cpp +@@ -23,6 +23,7 @@ + ****************************************************************************/ + + #include ++#include + + #include + #include -- cgit 1.2.3-korg