diff options
-rw-r--r-- | sys/alpha/alpha/alpha-gdbstub.c | 2 | ||||
-rw-r--r-- | sys/alpha/alpha/db_interface.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/amd64-gdbstub.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/db_interface.c | 2 | ||||
-rw-r--r-- | sys/ddb/db_command.c | 2 | ||||
-rw-r--r-- | sys/ddb/db_trap.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/db_interface.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/i386-gdbstub.c | 2 | ||||
-rw-r--r-- | sys/ia64/ia64/db_interface.c | 2 | ||||
-rw-r--r-- | sys/ia64/ia64/ia64-gdbstub.c | 2 | ||||
-rw-r--r-- | sys/libkern/bsearch.c | 5 | ||||
-rw-r--r-- | sys/libkern/quad.h | 3 | ||||
-rw-r--r-- | sys/sys/systm.h | 3 |
13 files changed, 19 insertions, 13 deletions
diff --git a/sys/alpha/alpha/alpha-gdbstub.c b/sys/alpha/alpha/alpha-gdbstub.c index 02efd28..f011ed7 100644 --- a/sys/alpha/alpha/alpha-gdbstub.c +++ b/sys/alpha/alpha/alpha-gdbstub.c @@ -104,7 +104,7 @@ #include <ddb/ddb.h> -#include <setjmp.h> +#include <machine/setjmp.h> #include "opt_ddb.h" diff --git a/sys/alpha/alpha/db_interface.c b/sys/alpha/alpha/db_interface.c index d37c6b8..6a566e3 100644 --- a/sys/alpha/alpha/db_interface.c +++ b/sys/alpha/alpha/db_interface.c @@ -76,7 +76,7 @@ #include <ddb/db_access.h> #include <ddb/db_sym.h> #include <ddb/db_variables.h> -#include <setjmp.h> +#include <machine/setjmp.h> static jmp_buf *db_nofault = 0; extern jmp_buf db_jmpbuf; diff --git a/sys/amd64/amd64/amd64-gdbstub.c b/sys/amd64/amd64/amd64-gdbstub.c index d045adc..2e6464d 100644 --- a/sys/amd64/amd64/amd64-gdbstub.c +++ b/sys/amd64/amd64/amd64-gdbstub.c @@ -100,7 +100,7 @@ #include <ddb/ddb.h> -#include <setjmp.h> +#include <machine/setjmp.h> #include "opt_ddb.h" diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c index 51fc835..a2e5018 100644 --- a/sys/amd64/amd64/db_interface.c +++ b/sys/amd64/amd64/db_interface.c @@ -53,7 +53,7 @@ #include <ddb/db_sym.h> #include <ddb/db_variables.h> -#include <setjmp.h> +#include <machine/setjmp.h> static jmp_buf *db_nofault = 0; extern jmp_buf db_jmpbuf; diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 39378e9..64cad7e 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -45,7 +45,7 @@ #include <ddb/db_lex.h> #include <ddb/db_output.h> -#include <setjmp.h> +#include <machine/setjmp.h> /* * Exported global variables diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c index 2111957..4409007 100644 --- a/sys/ddb/db_trap.c +++ b/sys/ddb/db_trap.c @@ -35,11 +35,12 @@ * Trap entry point to kernel debugger. */ #include <sys/param.h> +#include <sys/systm.h> #include <ddb/ddb.h> #include <ddb/db_command.h> -#include <setjmp.h> +#include <machine/setjmp.h> extern jmp_buf db_jmpbuf; diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c index 51fc835..a2e5018 100644 --- a/sys/i386/i386/db_interface.c +++ b/sys/i386/i386/db_interface.c @@ -53,7 +53,7 @@ #include <ddb/db_sym.h> #include <ddb/db_variables.h> -#include <setjmp.h> +#include <machine/setjmp.h> static jmp_buf *db_nofault = 0; extern jmp_buf db_jmpbuf; diff --git a/sys/i386/i386/i386-gdbstub.c b/sys/i386/i386/i386-gdbstub.c index d045adc..2e6464d 100644 --- a/sys/i386/i386/i386-gdbstub.c +++ b/sys/i386/i386/i386-gdbstub.c @@ -100,7 +100,7 @@ #include <ddb/ddb.h> -#include <setjmp.h> +#include <machine/setjmp.h> #include "opt_ddb.h" diff --git a/sys/ia64/ia64/db_interface.c b/sys/ia64/ia64/db_interface.c index 7069f60..ead35f8 100644 --- a/sys/ia64/ia64/db_interface.c +++ b/sys/ia64/ia64/db_interface.c @@ -60,7 +60,7 @@ #include <ddb/db_access.h> #include <ddb/db_sym.h> #include <ddb/db_variables.h> -#include <setjmp.h> +#include <machine/setjmp.h> static jmp_buf *db_nofault = 0; extern jmp_buf db_jmpbuf; diff --git a/sys/ia64/ia64/ia64-gdbstub.c b/sys/ia64/ia64/ia64-gdbstub.c index ec4eb29..11b9e9b 100644 --- a/sys/ia64/ia64/ia64-gdbstub.c +++ b/sys/ia64/ia64/ia64-gdbstub.c @@ -103,7 +103,7 @@ #include <ddb/ddb.h> -#include <setjmp.h> +#include <machine/setjmp.h> #include "opt_ddb.h" diff --git a/sys/libkern/bsearch.c b/sys/libkern/bsearch.c index 5b34500..6aceaa7 100644 --- a/sys/libkern/bsearch.c +++ b/sys/libkern/bsearch.c @@ -37,8 +37,9 @@ static char sccsid[] = "@(#)bsearch.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#include <stddef.h> -#include <stdlib.h> +#include <sys/param.h> +#include <machine/ansi.h> +#include <sys/libkern.h> /* * Perform a binary search. diff --git a/sys/libkern/quad.h b/sys/libkern/quad.h index 730f08f..82cf052 100644 --- a/sys/libkern/quad.h +++ b/sys/libkern/quad.h @@ -56,7 +56,8 @@ #include <sys/cdefs.h> #include <sys/types.h> -#include <limits.h> +#include <sys/syslimits.h> +#include <machine/limits.h> /* * Depending on the desired operation, we view a `long long' (aka quad_t) in diff --git a/sys/sys/systm.h b/sys/sys/systm.h index aa95807..1616776 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -89,7 +89,10 @@ struct timeval; struct tty; struct ucred; struct uio; +struct _jmp_buf; +int setjmp __P((struct _jmp_buf *)); +void longjmp __P((struct _jmp_buf *, int)) __dead2; void Debugger __P((const char *msg)); int dumpstatus __P((vm_offset_t addr, long count)); int nullop __P((void)); |