X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=upstream%2Fpatches%2Fnewlib-mips.patch;h=a01f0cc83fb9c5bd2998e43b8dd48e7804cbaeae;hp=889a32f44bfd936720a9d368d5bead44966bf8a1;hb=3cb9ecabb4877cf4cfdd2cb473952e7ad290cc15;hpb=3efa407f6606052b91cec5c98fab3f0a0a733b37 diff --git a/upstream/patches/newlib-mips.patch b/upstream/patches/newlib-mips.patch index 889a32f..a01f0cc 100644 --- a/upstream/patches/newlib-mips.patch +++ b/upstream/patches/newlib-mips.patch @@ -237,3 +237,26 @@ diff -rNu ../newlib-1.11.0.orig/newlib/libc/include/sys/dirent.h ./newlib/libc/i #ifdef __cplusplus } #endif +--- newlib/libc/include/sys/signal.h~ 2004-05-07 02:06:28.000000000 -0400 ++++ newlib/libc/include/sys/signal.h 2004-05-07 02:06:28.000000000 -0400 +@@ -145,7 +145,7 @@ + int _EXFUN(kill, (int, int)); + + /* protos for functions found in winsup sources for CYGWIN */ +-#if defined(__CYGWIN__) || defined(__rtems__) ++#if defined(__CYGWIN__) || defined(__rtems__) || 1 + #undef sigaddset + #undef sigemptyset + /* The first argument to kill should be pid_t. Right now +--- newlib/libc/include/sys/signal.h.bak 2004-05-09 23:15:15.000000000 -0400 ++++ newlib/libc/include/sys/signal.h 2004-05-09 23:16:33.000000000 -0400 +@@ -148,6 +148,9 @@ + #if defined(__CYGWIN__) || defined(__rtems__) || 1 + #undef sigaddset + #undef sigemptyset ++ ++#include ++ + /* The first argument to kill should be pid_t. Right now + always defines pid_t to be int. If that ever + changes, then we will need to do something else, perhaps along the