diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch')
-rw-r--r-- | meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch new file mode 100644 index 0000000000..bae90b4edc --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From d3c2187716a0a1f9359a869ca383c129603554d9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 21 Jun 2018 19:25:57 -0700 | ||
4 | Subject: [PATCH 1/6] include stddef.h for ptrdiff_t | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | morecore.c | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/morecore.c b/morecore.c | ||
12 | index 62ad252..c5981d2 100644 | ||
13 | --- a/morecore.c | ||
14 | +++ b/morecore.c | ||
15 | @@ -19,6 +19,7 @@ | ||
16 | |||
17 | #define _GNU_SOURCE | ||
18 | |||
19 | +#include <stddef.h> | ||
20 | #include <stdio.h> | ||
21 | #include <stdlib.h> | ||
22 | #include <malloc.h> | ||
23 | -- | ||
24 | 2.17.1 | ||
25 | |||