Added initial port for BSD/OS (aka BSDI) 2.x and 3.x. 4.x should also(?)

Thu Apr  8 23:47:29 1999  Timur Bakeyev  <timur@gnu.org>

 	* cpu.c, mem.c, netload.c, procargs.c, procstate.c, proctime.c,
 	sem_limits.c, shm_limits.c, swap.c: Added initial port for BSD/OS
	(aka BSDI) 2.x and 3.x. 4.x should also(?) work.

	Still, this port require more close look and extended check.
This commit is contained in:
Timur Bakeyev
1999-04-08 20:21:38 +00:00
committed by Timur I. Bakeyev
parent 5967e6c3e4
commit fac354623b
14 changed files with 113 additions and 45 deletions

View File

@@ -27,7 +27,7 @@
#include <glibtop_suid.h>
#if (defined __bsdi__) && (_BSDI_VERSION < 199700)
#if defined(__bsdi__) && (_BSDI_VERSION < 199700)
/* Older versions of BSDI don't seem to have this. */
void
@@ -46,7 +46,7 @@ glibtop_get_sem_limits_p (glibtop *server, glibtop_sem_limits *buf)
/* #define KERNEL to get declaration of `struct seminfo'. */
#if (defined __FreeBSD__) || (defined __bsdi__)
#if defined(__FreeBSD__) || defined(__bsdi__)
#define KERNEL 1
#else
#define _KERNEL 1