summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch
diff options
context:
space:
mode:
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.patch25
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 @@
1From d3c2187716a0a1f9359a869ca383c129603554d9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:25:57 -0700
4Subject: [PATCH 1/6] include stddef.h for ptrdiff_t
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 morecore.c | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/morecore.c b/morecore.c
12index 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--
242.17.1
25