diff options
Diffstat (limited to 'meta-oe/recipes-extended/pmdk/files/0005-pmempool-Remove-unused-__USE_UNIX98-define.patch')
-rw-r--r-- | meta-oe/recipes-extended/pmdk/files/0005-pmempool-Remove-unused-__USE_UNIX98-define.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/pmdk/files/0005-pmempool-Remove-unused-__USE_UNIX98-define.patch b/meta-oe/recipes-extended/pmdk/files/0005-pmempool-Remove-unused-__USE_UNIX98-define.patch new file mode 100644 index 000000000..75c35f865 --- /dev/null +++ b/meta-oe/recipes-extended/pmdk/files/0005-pmempool-Remove-unused-__USE_UNIX98-define.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 92e63699ea83074298971b0251f002562be4dbd3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alistair Francis <alistair.francis@wdc.com> | ||
3 | Date: Mon, 10 Sep 2018 13:23:37 -0700 | ||
4 | Subject: [PATCH 2/3] pmempool: Remove unused __USE_UNIX98 define | ||
5 | |||
6 | Remove the unused __USE_UNIX98 to fix musl build failures. | ||
7 | |||
8 | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> | ||
9 | Upstream-Status: Pending | ||
10 | --- | ||
11 | src/tools/pmempool/info.c | 3 --- | ||
12 | 1 file changed, 3 deletions(-) | ||
13 | |||
14 | diff --git a/src/tools/pmempool/info.c b/src/tools/pmempool/info.c | ||
15 | index b4010bf35..7b890a123 100644 | ||
16 | --- a/src/tools/pmempool/info.c | ||
17 | +++ b/src/tools/pmempool/info.c | ||
18 | @@ -45,9 +45,6 @@ | ||
19 | #include <inttypes.h> | ||
20 | #include <assert.h> | ||
21 | #include <sys/param.h> | ||
22 | -#ifndef __FreeBSD__ | ||
23 | -#define __USE_UNIX98 | ||
24 | -#endif | ||
25 | #include <unistd.h> | ||
26 | #include <sys/mman.h> | ||
27 | |||
28 | -- | ||
29 | 2.17.1 | ||
30 | |||