summaryrefslogtreecommitdiffstats
path: root/contrib/top/os.h
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-01-24 17:24:16 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-01-24 17:24:16 +0000
commit6d85e91806136ccf94d20612be2f8cc4d2590a8a (patch)
tree01dc9dd59148ee3d2624019bf4a06905463468a9 /contrib/top/os.h
parent1b9d0472b72177a604d3c5dd26d25eec00049bd2 (diff)
downloadFreeBSD-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.h9
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
OpenPOWER on IntegriCloud