aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mg/mg/0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch
blob: 8e8c2b90254352016de6ef2296bfb3f42156020c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 51539bcd2ee9f765595c0be16eebc1daee112b27 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 7 Apr 2017 16:52:59 -0700
Subject: [PATCH 1/2] fileio: Include sys/param.h for MAXNAMLEN

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

--- a/fileio.c
+++ b/fileio.c
@@ -12,6 +12,7 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <sys/param.h>
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>