summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mg/mg/0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/mg/mg/0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch')
-rw-r--r--meta-oe/recipes-support/mg/mg/0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mg/mg/0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch b/meta-oe/recipes-support/mg/mg/0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch
new file mode 100644
index 000000000..551f1df16
--- /dev/null
+++ b/meta-oe/recipes-support/mg/mg/0001-fileio-Include-sys-param.h-for-MAXNAMLEN.patch
@@ -0,0 +1,25 @@
1From 51539bcd2ee9f765595c0be16eebc1daee112b27 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Apr 2017 16:52:59 -0700
4Subject: [PATCH 1/2] fileio: Include sys/param.h for MAXNAMLEN
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 fileio.c | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/fileio.c b/fileio.c
12index 48a67a2..9b69665 100644
13--- a/fileio.c
14+++ b/fileio.c
15@@ -12,6 +12,7 @@
16 #include <sys/time.h>
17 #include <sys/types.h>
18 #include <sys/wait.h>
19+#include <sys/param.h>
20 #include <dirent.h>
21 #include <errno.h>
22 #include <fcntl.h>
23--
242.12.2
25