This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] sys/signal.h requires sys/cdefs.h


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2b615b47d49645664931e5ea09120f959310d03c

commit 2b615b47d49645664931e5ea09120f959310d03c
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Mon Jun 22 10:49:29 2015 +0200

    sys/signal.h requires sys/cdefs.h
    
    	* libc/include/sys/signal.h: Include forgotten sys/cdefs.h.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 newlib/ChangeLog                 | 4 ++++
 newlib/libc/include/sys/signal.h | 1 +
 2 files changed, 5 insertions(+)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index a59cc97..c014efd 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-22  Corinna Vinschen  <corinna@vinschen.de>
+
+	* libc/include/sys/signal.h: Include forgotten sys/cdefs.h.
+
 2015-06-20  Corinna Vinschen  <corinna@vinschen.de>
 
 	* libc/include/sys/signal.h: Move altstack macros completely
diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
index 6283e89..af5a489 100644
--- a/newlib/libc/include/sys/signal.h
+++ b/newlib/libc/include/sys/signal.h
@@ -7,6 +7,7 @@ extern "C" {
 #endif
 
 #include "_ansi.h"
+#include <sys/cdefs.h>
 #include <sys/features.h>
 #include <sys/types.h>
 #include <sys/_timespec.h>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]