diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-05-21 22:00:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-25 23:35:51 +0100 |
commit | 2c58d7176417dcb8226f6244363979e739450732 (patch) | |
tree | eee9ea68a77160881bd5b32e6b11c69417c39c3f /meta/recipes-support/nspr/nspr | |
parent | c74b925918e02ba0a13c8a30e510a9418f432f8d (diff) | |
download | openembedded-core-2c58d7176417dcb8226f6244363979e739450732.tar.gz |
nspr: Fix build error due to missing stdint.h> include
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/nspr/nspr')
-rw-r--r-- | meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch new file mode 100644 index 0000000000..b3bdd8e08d --- /dev/null +++ b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch @@ -0,0 +1,30 @@ +From f7551ec58e2f0a892295e0c2a650083101e12c54 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Sat, 20 May 2017 13:24:26 -0700 +Subject: [PATCH] include stdint.h for SSIZE_MAX and SIZE_MAX definitions + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- +Upstream-Status: Pending + + pr/tests/prfz.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/pr/tests/prfz.c b/pr/tests/prfz.c +index 0c5a432..9c17590 100644 +--- a/pr/tests/prfz.c ++++ b/pr/tests/prfz.c +@@ -10,7 +10,9 @@ + #include <sys/types.h> + #include <limits.h> + #include <string.h> +- ++#ifdef XP_UNIX ++#include <stdint.h> ++#endif + int + main(int argc, char **argv) + { +-- +2.13.0 + |