blob: 6e6dbf398b31fe7d0b3565c2d5bcf2cb03bbb584 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From d1a27570457fb6e1d6bafe81bfa0f3507b137e32 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Dengke Du <dengke.du@windriver.com>
3Date: Thu, 9 Feb 2017 18:20:58 +0800
Brad Bishopd7bf8c12018-02-25 22:55:05 -05004Subject: [PATCH] fix __WORDSIZE undeclared when building with musl
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6fix __WORDSIZE undeclared when building with musl.
7
Brad Bishopd7bf8c12018-02-25 22:55:05 -05008Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/177]
9
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010Signed-off-by: Dengke Du <dengke.du@windriver.com>
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011---
12 include/old/test.h | 3 +++
13 1 file changed, 3 insertions(+)
14
15diff --git a/include/old/test.h b/include/old/test.h
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016index b36764d83..cc6f1b551 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017--- a/include/old/test.h
18+++ b/include/old/test.h
Brad Bishop19323692019-04-05 15:28:33 -040019@@ -17,6 +17,9 @@
Brad Bishopd7bf8c12018-02-25 22:55:05 -050020 #include <string.h>
21 #include <stdlib.h>
22 #include <stdint.h>
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023+#ifndef __GLIBC__
24+#include <bits/reg.h>
25+#endif
26
Brad Bishopd7bf8c12018-02-25 22:55:05 -050027 #include "usctest.h"
28
Brad Bishop6e60e8b2018-02-01 10:27:11 -050029--
Brad Bishopd7bf8c12018-02-25 22:55:05 -0500302.11.0
Brad Bishop6e60e8b2018-02-01 10:27:11 -050031