$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
 
