aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/mips/gen/makecontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/mips/gen/makecontext.c')
-rw-r--r--lib/libc/mips/gen/makecontext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/mips/gen/makecontext.c b/lib/libc/mips/gen/makecontext.c
index 1f8886f869a5..7d3e647b4d09 100644
--- a/lib/libc/mips/gen/makecontext.c
+++ b/lib/libc/mips/gen/makecontext.c
@@ -39,6 +39,7 @@ __RCSID("$NetBSD: makecontext.c,v 1.5 2009/12/14 01:07:42 matt Exp $");
#include <sys/param.h>
#include <machine/abi.h>
+#define _WANT_MIPS_REGNUM
#include <machine/regnum.h>
#include <stdarg.h>