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:
committed by
Martin Baulig
parent
b7e5a6da2d
commit
50e4bdfc93
@@ -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.
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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) +
|
||||
|
Reference in New Issue
Block a user