diff options
author | 2017-07-14 11:34:52 -0700 | |
---|---|---|
committer | 2017-07-24 18:57:36 +0200 | |
commit | 222db35a89fa12badfc3e3339eae0ab6d47459e9 (patch) | |
tree | d4d6fdf9a98e797b2a74a1d915f4d9c0b585d6dd /meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch | |
parent | e16fef4f4d1ea2ec0fab8d0f3c898e4fcc687343 (diff) | |
download | meta-openembedded-contrib-222db35a89fa12badfc3e3339eae0ab6d47459e9.tar.gz |
xfsdump: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch')
-rw-r--r-- | meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch b/meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch new file mode 100644 index 0000000000..660468d731 --- /dev/null +++ b/meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch @@ -0,0 +1,28 @@ +From 8cf48da5f645dd7bbb1ccbeab5bb0964f40f17f7 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 13 Jul 2017 23:18:47 -0700 +Subject: [PATCH 1/5] Include fcntl.h for O_EXCL + +Fix +error: 'O_CREAT' undeclared (first use in this function) + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + invutil/invidx.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/invutil/invidx.c b/invutil/invidx.c +index 67efdf7..325a9a1 100644 +--- a/invutil/invidx.c ++++ b/invutil/invidx.c +@@ -27,6 +27,7 @@ + #include <sys/stat.h> + #include <string.h> + #include <uuid/uuid.h> ++#include <fcntl.h> + + #include "types.h" + #include "mlog.h" +-- +2.13.2 + |