19 lines
469 B
Text
19 lines
469 B
Text
$NetBSD: patch-aa,v 1.3 2013/01/11 00:06:21 joerg Exp $
|
|
|
|
--- src/Public.cpp.orig 2013-01-10 23:12:27.000000000 +0000
|
|
+++ src/Public.cpp
|
|
@@ -16,6 +16,14 @@
|
|
#include <sys/param.h>
|
|
#include <sys/sysctl.h>
|
|
#include <unistd.h>
|
|
+ #include <string.h>
|
|
+ #ifdef __DragonFly__
|
|
+ #include <vm/vm_param.h>
|
|
+ #include <sys/vmmeter.h>
|
|
+ #endif
|
|
+ #ifdef __NetBSD__
|
|
+ #include <sys/vmmeter.h>
|
|
+ #endif
|
|
|
|
static int pageshift;
|
|
#define pagetok(size) ((size) << pageshift)
|