  #endif /* defined(__CYGWIN__) */
  
  #if __BSD_VISIBLE || __XSI_VISIBLE >= 4 || __POSIX_VISIBLE >= 200809
-@@ -357,6 +357,22 @@
+@@ -357,6 +440,22 @@
  #endif
  #endif
  

diff -Naur ../newlib-2.5.0.20170922/newlib/libc/include/sys/signal.h ./newlib/libc/include/sys/signal.h
--- ../newlib-2.5.0.20170922/newlib/libc/include/sys/signal.h
+++ ./newlib/libc/include/sys/signal.h
@@ -72,7 +72,7 @@
 } siginfo_t;
 #endif /* defined(_POSIX_REALTIME_SIGNALS) || __POSIX_VISIBLE >= 199309 */
 
-#if defined(__rtems__)

 
 #define SA_NOCLDSTOP 1  /* only value supported now for sa_flags */
 
 typedef void (*_sig_func_ptr)(int);
 
-struct sigaction 
+struct sigaction
 {
 	_sig_func_ptr sa_handler;
 	sigset_t sa_mask;
 	int sa_flags;
 };
