#include "defs.h"
#include "inferior.h"
#include "infrun.h"
-@@ -72,6 +73,10 @@
- #define SPUFS_MAGIC 0x23c9b64e
- #endif
+@@ -70,6 +71,10 @@
+ #include "gdbsupport/gdb-sigmask.h"
+ #include "debug.h"
+#ifndef __SIGRTMIN
+#define __SIGRTMIN SIGRTMIN
#include <asm/cputable.h>
/* This sometimes isn't defined. */
---- a/gdb/gdbserver/linux-ppc-low.c
-+++ b/gdb/gdbserver/linux-ppc-low.c
+--- a/gdbserver/linux-ppc-low.cc
++++ b/gdbserver/linux-ppc-low.cc
@@ -23,7 +23,9 @@
#include "elf/common.h"
#include <sys/uio.h>