[1/1] sys/signal.h: <sys/_intsup.h> is needed for __STDINT_EXP

Message ID 20210825191245.30049-2-joel@rtems.org
State New
Headers show
Series
  • sys/signal.h needs sys/_intsup.h
Related show

Commit Message

Joel Sherrill Aug. 25, 2021, 7:12 p.m.
---
 newlib/libc/include/sys/signal.h | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.24.4

Patch

diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index 255782eb6..e909abb52 100644
--- a/newlib/libc/include/sys/signal.h
+++ b/newlib/libc/include/sys/signal.h
@@ -10,6 +10,10 @@  extern "C" {
 #include <sys/cdefs.h>
 #include <sys/features.h>
 #include <sys/types.h>
+/* Using __MISC_VISIBLE until POSIX Issue 8 is officially released */
+#if __MISC_VISIBLE
+#include <sys/_intsup.h>
+#endif
 #include <sys/_sigset.h>
 #include <sys/_timespec.h>
 #include <stdint.h>