aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <[email protected]>2012-11-15 18:51:21 +0900
committerYAMAMOTO Takashi <[email protected]>2013-03-08 10:34:36 +0900
commite66a60efcafb85c6bbfb6e1d08f850c42bee7a08 (patch)
tree4587fe4d09504e83bcc10b430a1a88acd6dfec51
parent1c8524a1a45de864a0c2b2e4a544c7e37501d3be (diff)
downloadotp-e66a60efcafb85c6bbfb6e1d08f850c42bee7a08.tar.gz
otp-e66a60efcafb85c6bbfb6e1d08f850c42bee7a08.tar.bz2
otp-e66a60efcafb85c6bbfb6e1d08f850c42bee7a08.zip
compilation fix for NetBSD
taken from a pkgsrc patch: patch-lib_os__mon_c__src_memsup.c
-rw-r--r--lib/os_mon/c_src/memsup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/os_mon/c_src/memsup.c b/lib/os_mon/c_src/memsup.c
index 3a1a8e9444..2dad6c8e2d 100644
--- a/lib/os_mon/c_src/memsup.c
+++ b/lib/os_mon/c_src/memsup.c
@@ -104,6 +104,9 @@
#if !defined (__OpenBSD__) && !defined (__NetBSD__)
#include <vm/vm_param.h>
#endif
+#if defined (__NetBSD__)
+#include <sys/vmmeter.h>
+#endif
#if defined (__FreeBSD__) || defined(__DragonFly__)
#include <sys/vmmeter.h>
#endif