diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2019-08-22 21:43:21 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2019-08-22 21:43:21 +0000 |
| commit | e21f96a811d9776f976751b01ac7975eeffcdeb2 (patch) | |
| tree | 67fd60297b13b12d704966043c751b12801f2c71 /lib | |
| parent | 428925b5f20540449776e217fd08078b89177147 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/mips/gen/_setjmp.S | 1 | ||||
| -rw-r--r-- | lib/libc/mips/gen/makecontext.c | 1 | ||||
| -rw-r--r-- | lib/libc/mips/gen/setjmp.S | 1 | ||||
| -rw-r--r-- | lib/libc/mips/gen/sigsetjmp.S | 1 | ||||
| -rw-r--r-- | lib/libproc/proc_regs.c | 1 | ||||
| -rw-r--r-- | lib/libthread_db/arch/mips/libpthread_md.c | 1 |
6 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/mips/gen/_setjmp.S b/lib/libc/mips/gen/_setjmp.S index 6944d06fbb2c..10c4cda5e0c1 100644 --- a/lib/libc/mips/gen/_setjmp.S +++ b/lib/libc/mips/gen/_setjmp.S @@ -34,7 +34,6 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); -#include <machine/regnum.h> #include "SYS.h" 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> diff --git a/lib/libc/mips/gen/setjmp.S b/lib/libc/mips/gen/setjmp.S index 4eb12f53b703..3ef6878bb608 100644 --- a/lib/libc/mips/gen/setjmp.S +++ b/lib/libc/mips/gen/setjmp.S @@ -34,7 +34,6 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); -#include <machine/regnum.h> #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)setjmp.s 8.1 (Berkeley) 6/4/93") diff --git a/lib/libc/mips/gen/sigsetjmp.S b/lib/libc/mips/gen/sigsetjmp.S index 41c47f284433..a36b2803a10b 100644 --- a/lib/libc/mips/gen/sigsetjmp.S +++ b/lib/libc/mips/gen/sigsetjmp.S @@ -34,7 +34,6 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); -#include <machine/regnum.h> #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)setjmp.s 8.1 (Berkeley) 6/4/93") ASMSTR("$NetBSD: sigsetjmp.S,v 1.8 2005/09/17 11:49:39 tsutsui Exp $") diff --git a/lib/libproc/proc_regs.c b/lib/libproc/proc_regs.c index 83988c2bac35..da2cba18bbbd 100644 --- a/lib/libproc/proc_regs.c +++ b/lib/libproc/proc_regs.c @@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> +#define _WANT_MIPS_REGNUM #include <sys/ptrace.h> #include <err.h> diff --git a/lib/libthread_db/arch/mips/libpthread_md.c b/lib/libthread_db/arch/mips/libpthread_md.c index cef786a32887..1ded66d1c3fe 100644 --- a/lib/libthread_db/arch/mips/libpthread_md.c +++ b/lib/libthread_db/arch/mips/libpthread_md.c @@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> +#define _WANT_MIPS_REGNUM #include <sys/procfs.h> #include <ucontext.h> #include <string.h> |
