Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 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 | |