fix newlib breakage
[nestedvm.git] / upstream / patches / newlib-mips.patch
index ad43476..a01f0cc 100644 (file)
@@ -248,3 +248,15 @@ diff -rNu ../newlib-1.11.0.orig/newlib/libc/include/sys/dirent.h ./newlib/libc/i
  #undef sigaddset
  #undef sigemptyset
  /* The first argument to kill should be pid_t.  Right now
  #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 <sys/types.h>
++
+ /* The first argument to kill should be pid_t.  Right now
+    <sys/types.h> always defines pid_t to be int.  If that ever
+    changes, then we will need to do something else, perhaps along the