summaryrefslogtreecommitdiff
path: root/ham/dpbox/patches/patch-ak
blob: 77d4138bc85715f2f39e5128e203426833cae54f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)
 {