summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-stddef.h-for-ptrdiff_t.patch
blob: 33a4efb1fa0064af3ce73b333266175a107abcc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 5fe5dae674e259bcdd57b9c6a0004111ab0700ce Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 21 Jun 2018 19:25:57 -0700
Subject: [PATCH] include stddef.h for ptrdiff_t

Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 morecore.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/morecore.c b/morecore.c
index 405c566..0edccd2 100644
--- a/morecore.c
+++ b/morecore.c
@@ -19,6 +19,7 @@
 
 #define _GNU_SOURCE
 
+#include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <malloc.h>
-- 
2.25.1