aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppc-nbsd-nat.c')
-rw-r--r--gdb/ppc-nbsd-nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ppc-nbsd-nat.c b/gdb/ppc-nbsd-nat.c
index a2a0c0b..86a20a9 100644
--- a/gdb/ppc-nbsd-nat.c
+++ b/gdb/ppc-nbsd-nat.c
@@ -19,6 +19,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+/* We define this to get types like register_t. */
+#define _KERNTYPES
#include "defs.h"
#include <sys/types.h>