$NetBSD: patch-aa,v 1.1 2006/03/14 02:07:32 joerg Exp $

--- getmac.c.orig	2006-03-14 02:05:27.000000000 +0000
+++ getmac.c
@@ -47,7 +47,9 @@
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/time.h>
+#if !defined(__DragonFly__)
 #include <sys/proc.h>
+#endif
 
 #include <sys/socket.h>
 #include <net/if.h>
