aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch
blob: bae90b4edc12a6b0ec37771eeb297e6d1426a4aa (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
From d3c2187716a0a1f9359a869ca383c129603554d9 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 1/6] include stddef.h for ptrdiff_t

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 62ad252..c5981d2 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.17.1