Module Name: src Committed By: tron Date: Mon Feb 1 09:56:58 UTC 2010
Modified Files: src/sys/ddb: db_write_cmd.c Log Message: Include "ctype.h" if we are not building a kernel to fix the build of crash(8). To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ddb/db_write_cmd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ddb/db_write_cmd.c diff -u src/sys/ddb/db_write_cmd.c:1.24 src/sys/ddb/db_write_cmd.c:1.25 --- src/sys/ddb/db_write_cmd.c:1.24 Sun Jan 31 21:52:23 2010 +++ src/sys/ddb/db_write_cmd.c Mon Feb 1 09:56:58 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: db_write_cmd.c,v 1.24 2010/01/31 21:52:23 phx Exp $ */ +/* $NetBSD: db_write_cmd.c,v 1.25 2010/02/01 09:56:58 tron Exp $ */ /* * Mach Operating System @@ -30,13 +30,17 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: db_write_cmd.c,v 1.24 2010/01/31 21:52:23 phx Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_write_cmd.c,v 1.25 2010/02/01 09:56:58 tron Exp $"); #include <sys/param.h> #include <sys/proc.h> #include <ddb/ddb.h> +#ifndef _KERNEL +#include <ctype.h> +#endif + /* * Write to file. */