Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys ditch the ifndef _KERNEL around includes needed for ...
details: https://anonhg.NetBSD.org/src/rev/51a800265f42
branches: trunk
changeset: 495125:51a800265f42
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Jul 22 14:59:23 2000 +0000
description:
ditch the ifndef _KERNEL around includes needed for some parts
of kinfo_struct - needing to include <uvm/uvm_extern> before <sys/sysctl.h>
is annoying, especially when porting external kernel stuff
diffstat:
sys/sys/sysctl.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 75d33245ed8e -r 51a800265f42 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h Sat Jul 22 14:49:17 2000 +0000
+++ b/sys/sys/sysctl.h Sat Jul 22 14:59:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.h,v 1.54 2000/07/14 07:21:22 thorpej Exp $ */
+/* $NetBSD: sysctl.h,v 1.55 2000/07/22 14:59:23 jdolecek Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -44,12 +44,10 @@
/*
* These are for the eproc structure defined below.
*/
-#ifndef _KERNEL
#include <sys/time.h>
#include <sys/ucred.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>
-#endif
/*
* Definitions for sysctl call. The sysctl call uses a hierarchical name
Home |
Main Index |
Thread Index |
Old Index