diff options
Diffstat (limited to 'meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch')
| -rw-r--r-- | meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch b/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch new file mode 100644 index 0000000000..edbd636b23 --- /dev/null +++ b/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From c64dfdc6ec5bc752aafd1ac16a380f47602197c4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chris Frey <cdfrey@foursquare.net> | ||
| 3 | Date: Thu, 24 Oct 2013 17:58:47 -0400 | ||
| 4 | Subject: [PATCH] Added stdlib.h for malloc() in lib/decode.c | ||
| 5 | |||
| 6 | Authored by Chris Frey <cdfrey@foursquare.net>. | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/20aa09bd7775094a2beb0f136c2c7d9e9fd6c7e6] | ||
| 9 | |||
| 10 | Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com> | ||
| 11 | --- | ||
| 12 | lib/decode.c | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/lib/decode.c b/lib/decode.c | ||
| 16 | index edb2185..35312be 100644 | ||
| 17 | --- a/lib/decode.c | ||
| 18 | +++ b/lib/decode.c | ||
| 19 | @@ -13,6 +13,7 @@ | ||
| 20 | #include <internal.h> | ||
| 21 | |||
| 22 | #include <stdio.h> | ||
| 23 | +#include <stdlib.h> | ||
| 24 | #include <sys/param.h> | ||
| 25 | #include <pwd.h> | ||
| 26 | #include <grp.h> | ||
