Include "ctype.h" in the central place which deals with building the

kernel debugger as a userland program.
This commit is contained in:
tron 2010-02-02 09:04:14 +00:00
parent 5526267c10
commit 370c0f3c62
2 changed files with 4 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_user.h,v 1.1 2009/03/07 22:02:17 ad Exp $ */
/* $NetBSD: db_user.h,v 1.2 2010/02/02 09:04:14 tron Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@ -40,6 +40,7 @@
#include <uvm/uvm_extern.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_write_cmd.c,v 1.25 2010/02/01 09:56:58 tron Exp $ */
/* $NetBSD: db_write_cmd.c,v 1.26 2010/02/02 09:04:14 tron Exp $ */
/*
* Mach Operating System
@ -30,17 +30,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_write_cmd.c,v 1.25 2010/02/01 09:56:58 tron Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_write_cmd.c,v 1.26 2010/02/02 09:04:14 tron Exp $");
#include <sys/param.h>
#include <sys/proc.h>
#include <ddb/ddb.h>
#ifndef _KERNEL
#include <ctype.h>
#endif
/*
* Write to file.
*/