blob: 4af6091d9187f29f1bef091313e873f990741048 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-aa,v 1.6 2008/04/08 13:16:22 martti Exp $
Added support for NetBSD.
--- lib/os_mon/c_src/memsup.c.orig 2006-08-29 11:47:15.000000000 +0200
+++ lib/os_mon/c_src/memsup.c
@@ -98,10 +98,10 @@
#ifdef BSD4_4
#include <sys/types.h>
#include <sys/sysctl.h>
-#ifndef __OpenBSD__
+#if !defined(__OpenBSD__) && !defined(__NetBSD__)
#include <vm/vm_param.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/vmmeter.h>
#endif
#endif
|