diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-01-24 17:24:16 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-01-24 17:24:16 +0000 |
commit | 6d85e91806136ccf94d20612be2f8cc4d2590a8a (patch) | |
tree | 01dc9dd59148ee3d2624019bf4a06905463468a9 /contrib/top/os.h | |
parent | 1b9d0472b72177a604d3c5dd26d25eec00049bd2 (diff) | |
download | FreeBSD-src-6d85e91806136ccf94d20612be2f8cc4d2590a8a.zip FreeBSD-src-6d85e91806136ccf94d20612be2f8cc4d2590a8a.tar.gz |
import top_3_5beta12
Diffstat (limited to 'contrib/top/os.h')
-rw-r--r-- | contrib/top/os.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/top/os.h b/contrib/top/os.h index d25e93e..8316a4c 100644 --- a/contrib/top/os.h +++ b/contrib/top/os.h @@ -27,3 +27,12 @@ caddr_t malloc(); # define memzero(a, b) memset((a), 0, (b)) typedef void sigret_t; #endif + +/* some systems declare sys_errlist in stdio.h! */ +#if defined(__NetBSD__) || defined(__FreeBSD__) +#if !defined(__m68k__) +# if !defined(__NetBSD132__) +#define SYS_ERRLIST_DECLARED +# endif /* __NetBSD132__ */ +#endif +#endif |