summaryrefslogtreecommitdiff
path: root/ham/dpbox/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'ham/dpbox/patches/patch-ak')
-rw-r--r--ham/dpbox/patches/patch-ak22
1 files changed, 22 insertions, 0 deletions
diff --git a/ham/dpbox/patches/patch-ak b/ham/dpbox/patches/patch-ak
new file mode 100644
index 00000000000..77d4138bc85
--- /dev/null
+++ b/ham/dpbox/patches/patch-ak
@@ -0,0 +1,22 @@
+$NetBSD: patch-ak,v 1.1 2006/01/24 22:27:07 joerg Exp $
+
+--- pastrix.c.orig 2006-01-24 22:01:20.000000000 +0000
++++ pastrix.c
+@@ -19,7 +19,7 @@
+ #include "boxlocal.h"
+ #include "tools.h"
+
+-#if defined(__linux__) || defined(__NetBSD__)
++#if defined(__linux__) || defined(__NetBSD__) || defined(__DragonFly__)
+ #include <ctype.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>
+@@ -80,7 +80,7 @@ long statclock(void)
+ #endif
+ }
+
+-#if defined(__linux__) || defined(__NetBSD__)
++#if defined(__linux__) || defined(__NetBSD__) || defined(__DragonFly__)
+
+ long get_cpuusage(void)
+ {