summaryrefslogtreecommitdiff
path: root/sysutils/whowatch/patches/patch-aa
blob: 1ebd19499f9892c78ee8b9f650bad748388bcaa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.1 2006/06/12 16:41:30 joerg Exp $

--- procinfo.h.orig	2006-06-12 16:36:59.000000000 +0000
+++ procinfo.h
@@ -1,11 +1,13 @@
 #ifdef HAVE_PROCESS_SYSCTL
 #include <sys/param.h>
 #include <sys/sysctl.h>
+#if !defined(__DragonFly__)
 #include <sys/proc.h>
+#endif
 #include <sys/stat.h>
 #endif
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__DragonFly__)
 #include <sys/user.h>
 #endif