Protect the include of "opt_ptrace.h" by _KERNEL_OPT.

This commit is contained in:
he 2006-08-31 15:01:56 +00:00
parent 595808ad47
commit 3e73ce6bef
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: freebsd_ptrace.c,v 1.10 2006/08/30 11:04:37 matt Exp $ */
/* $NetBSD: freebsd_ptrace.c,v 1.11 2006/08/31 15:01:56 he Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@ -71,9 +71,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: freebsd_ptrace.c,v 1.10 2006/08/30 11:04:37 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: freebsd_ptrace.c,v 1.11 2006/08/31 15:01:56 he Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ptrace.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>