Make it work with OpenBSD 2.4.

1998-12-06  Martin Baulig  <martin@home-of-linux.org>

	* Make it work with OpenBSD 2.4.

As with NetBSD: it compiles fine and the executables do not dump core -
but needs a closer look whether the returned data are all valid.
This commit is contained in:
Martin Baulig
1998-12-06 11:08:12 +00:00
committed by Martin Baulig
parent b7e5a6da2d
commit 50e4bdfc93
5 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
1998-12-06 Martin Baulig <martin@home-of-linux.org>
* Make it work with OpenBSD 2.4.
1998-12-05 Martin Baulig <martin@home-of-linux.org>
* Make it work with NetBSD 1.3.2.

View File

@@ -29,7 +29,9 @@
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
#ifndef __OpenBSD__
#include <sys/user.h>
#endif
#include <machine/pcb.h>
#ifdef __FreeBSD__
#include <machine/tss.h>

View File

@@ -40,7 +40,9 @@
#include <ufs/ufs/inode.h>
#include <sys/ucred.h>
#ifndef __OpenBSD__
#include <sys/user.h>
#endif
#include <sys/sysctl.h>
#include <vm/vm.h>

View File

@@ -37,7 +37,9 @@
#include <ufs/ufs/inode.h>
#include <sys/ucred.h>
#ifndef __OpenBSD__
#include <sys/user.h>
#endif
#include <sys/sysctl.h>
#include <vm/vm.h>

View File

@@ -25,7 +25,9 @@
#include <glibtop_suid.h>
#ifndef __OpenBSD__
#include <sys/user.h>
#endif
static const unsigned long _glibtop_sysdeps_proc_state =
(1 << GLIBTOP_PROC_STATE_CMD) + (1 << GLIBTOP_PROC_STATE_STATE) +