Commit 796bd20
committed
mctp-bench: remove prctl includes
Khem reports that including both linux/prctl.h and sys/prctl.h appears
to break builds with musl:
In file included from ../sources/mctp-2.3/src/mctp-bench.c:16:
../recipe-sysroot/usr/include/sys/prctl.h:88:8: error: redefinition of 'prctl_mm_map'
88 | struct prctl_mm_map {
| ^
../recipe-sysroot/usr/include/linux/prctl.h:134:8: note: previous definition is here
134 | struct prctl_mm_map {
| ^
We're not using prctl() at present, so both can be removed.
Reported-by: Khem Raj <[email protected]>
Signed-off-by: Jeremy Kerr <[email protected]>1 parent 688d615 commit 796bd20
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
0 commit comments