diff options
| author | atatat <atatat@NetBSD.org> | 2004-04-09 15:43:19 +0000 |
|---|---|---|
| committer | atatat <atatat@NetBSD.org> | 2004-04-09 15:43:19 +0000 |
| commit | f9eafc41bde088cf60191de768fc259b0826339f (patch) | |
| tree | f4e77a939cef299a60c32810dc719166fce0bb83 /sys | |
| parent | d010f57a21417f72d75dd67ce772d0b9fd4a4788 (diff) | |
Standalone programs should not use stddef.h. They are more like the
kernel, so they must use sys/systm.h instead.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/sys/mbuf.h | 4 | ||||
| -rw-r--r-- | sys/sys/sysctl.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index ea13ff403a9..610cb0e0734 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1,4 +1,4 @@ -/* $NetBSD: mbuf.h,v 1.90 2004/03/22 17:56:30 matt Exp $ */ +/* $NetBSD: mbuf.h,v 1.91 2004/04/09 15:43:19 atatat Exp $ */ /*- * Copyright (c) 1996, 1997, 1999, 2001 The NetBSD Foundation, Inc. @@ -82,7 +82,7 @@ #include <sys/queue.h> /* For offsetof() */ -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_STANDALONE) #include <sys/systm.h> #else #include <stddef.h> diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 137b98e6af0..13bfbc62487 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1,4 +1,4 @@ -/* $NetBSD: sysctl.h,v 1.117 2004/04/08 03:57:48 atatat Exp $ */ +/* $NetBSD: sysctl.h,v 1.118 2004/04/09 15:43:19 atatat Exp $ */ /* * Copyright (c) 1989, 1993 @@ -47,7 +47,7 @@ #include <uvm/uvm_extern.h> /* For offsetof() */ -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_STANDALONE) #include <sys/systm.h> #else #include <stddef.h> |
