Make it work with NetBSD 1.3.2.

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

	* Make it work with NetBSD 1.3.2.

Well, it compiles without problems but not all features are currently
working; need to look a little bit closer at it.

Ok for now, think I'll install OpenBSD and test it there ...

Martin
This commit is contained in:
Martin Baulig
1998-12-05 18:52:09 +00:00
committed by Martin Baulig
parent d414a22ee3
commit 67a344b9d4
12 changed files with 108 additions and 14 deletions

View File

@@ -62,7 +62,9 @@ glibtop_open_p (glibtop *server, const char *program_name,
server->machine.gid = getgid ();
server->machine.egid = getegid ();
#ifdef __FreeBSD__
server->os_version_code = __FreeBSD_version;
#endif
/* Setup machine-specific data */
server->machine.kd = kvm_open (NULL, NULL, NULL, O_RDONLY, "kvm_open");