summaryrefslogtreecommitdiff
path: root/sysutils/memdump/files/patch-memdump.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-30 19:03:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-30 19:03:11 +0000
commitbc10a85def848ba02e53b61d47cbdbf0f67ca302 (patch)
treeb4bdeb3ebf458c9f8946a326e4efab596c7d14c0 /sysutils/memdump/files/patch-memdump.c
parent- Use rint() instead of round() on FreeBSD 4.X (diff)
- Fix build on FreeBSD 7
PR: ports/85496 Submitted by: Jonathan <onatan@gmail.com> (maintainer)
Diffstat (limited to 'sysutils/memdump/files/patch-memdump.c')
-rw-r--r--sysutils/memdump/files/patch-memdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/memdump/files/patch-memdump.c b/sysutils/memdump/files/patch-memdump.c
index 018aa732934d..cb3c1f3ecd20 100644
--- a/sysutils/memdump/files/patch-memdump.c
+++ b/sysutils/memdump/files/patch-memdump.c
@@ -186,7 +186,7 @@
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
- || defined(FREEBSD5) \
-+ || defined(FREEBSD5) || defined(FREEBSD6) \
++ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|| defined(OPENBSD2) || defined(OPENBSD3) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4)
#include <sys/param.h>
@@ -195,7 +195,7 @@
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
- || defined(FREEBSD5) \
-+ || defined(FREEBSD5) || defined(FREEBSD6) \
++ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|| defined(OPENBSD2) || defined(OPENBSD3)
int name[] = {CTL_HW, HW_PHYSMEM};
size_t len;