aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlex Wilson <[email protected]>2014-12-11 22:01:30 +1000
committerAlex Wilson <[email protected]>2014-12-11 22:01:30 +1000
commit6dfa942bed5943a0fde398804fc7da9281a046be (patch)
treec2e9e3dcb64fcb364a386b8d5d4754f85194bd57 /lib
parentaf87b1c3d4897840d8247589a88d3611106ecedc (diff)
downloadotp-6dfa942bed5943a0fde398804fc7da9281a046be.tar.gz
otp-6dfa942bed5943a0fde398804fc7da9281a046be.tar.bz2
otp-6dfa942bed5943a0fde398804fc7da9281a046be.zip
Fix compile breakage on OpenBSD
Some of the structs and functions needed by memsup.c are in vmmeter.h on OpenBSD, too.
Diffstat (limited to 'lib')
-rw-r--r--lib/os_mon/c_src/memsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/c_src/memsup.c b/lib/os_mon/c_src/memsup.c
index 409db84aa7..5dcab07dd8 100644
--- a/lib/os_mon/c_src/memsup.c
+++ b/lib/os_mon/c_src/memsup.c
@@ -104,7 +104,7 @@
#if !defined (__OpenBSD__) && !defined (__NetBSD__)
#include <vm/vm_param.h>
#endif
-#if defined (__FreeBSD__) || defined(__DragonFly__) || defined (__NetBSD__)
+#if defined (__FreeBSD__) || defined(__DragonFly__) || defined (__NetBSD__) || defined(__OpenBSD__)
#include <sys/vmmeter.h>
#endif
#endif