Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 1 | From a2639bd0f0d3f9f3049ee33e6710fed06225f54f Mon Sep 17 00:00:00 2001 |
| 2 | From: Dengke Du <dengke.du@windriver.com> |
| 3 | Date: Thu, 9 Feb 2017 18:20:58 +0800 |
| 4 | Subject: [PATCH 1/2] fix __WORDSIZE undeclared when building with musl |
| 5 | |
| 6 | fix __WORDSIZE undeclared when building with musl. |
| 7 | |
| 8 | Signed-off-by: Dengke Du <dengke.du@windriver.com> |
| 9 | Upstream-Status: Pending |
| 10 | --- |
| 11 | include/old/test.h | 3 +++ |
| 12 | 1 file changed, 3 insertions(+) |
| 13 | |
| 14 | diff --git a/include/old/test.h b/include/old/test.h |
| 15 | index d492560..263e92e 100644 |
| 16 | --- a/include/old/test.h |
| 17 | +++ b/include/old/test.h |
| 18 | @@ -58,6 +58,9 @@ |
| 19 | #include "tst_clone.h" |
| 20 | #include "old_device.h" |
| 21 | #include "old_tmpdir.h" |
| 22 | +#ifndef __GLIBC__ |
| 23 | +#include <bits/reg.h> |
| 24 | +#endif |
| 25 | |
| 26 | /* |
| 27 | * Ensure that NUMSIGS is defined. |
| 28 | -- |
| 29 | 2.7.4 |
| 30 | |