aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-nbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arm-nbsd-nat.c')
-rw-r--r--gdb/arm-nbsd-nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/arm-nbsd-nat.c b/gdb/arm-nbsd-nat.c
index 00f9191..33ae790 100644
--- a/gdb/arm-nbsd-nat.c
+++ b/gdb/arm-nbsd-nat.c
@@ -17,6 +17,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 "gdbcore.h"
#include "inferior.h"