aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/zbedic/zbedic
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-08-21 20:40:58 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-08-21 20:51:42 +0100
commite4b83493c9509adaa286ebc6a50136cd3d85eb15 (patch)
treeee4e840c414b2b73d972117c67c69c28463a2fdc /recipes-qtopia/zbedic/zbedic
parentc91505f3c9c7ec12d538f8c640600e2aa7b99ce9 (diff)
downloadmeta-opie-e4b83493c9509adaa286ebc6a50136cd3d85eb15.tar.gz
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 <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-qtopia/zbedic/zbedic')
-rw-r--r--recipes-qtopia/zbedic/zbedic/stdlib_h.patch14
1 files changed, 14 insertions, 0 deletions
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 <paul.eggleton@linux.intel.com>
+
+--- zbedic-1.2.orig/src/settings.cpp
++++ zbedic-1.2/src/settings.cpp
+@@ -23,6 +23,7 @@
+ ****************************************************************************/
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include <qlabel.h>
+ #include <qhbox.h>