pkgsrc/net/net-snmp/patches/patch-dp

16 lines
403 B
Text

$NetBSD: patch-dp,v 1.1 2006/03/19 22:03:29 joerg Exp $
--- agent/mibgroup/ucd-snmp/loadave.c.orig 2006-03-19 20:40:02.000000000 +0000
+++ agent/mibgroup/ucd-snmp/loadave.c
@@ -39,9 +39,11 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
+#if !defined(dragonfly)
#ifdef HAVE_SYS_VNODE_H
#include <sys/vnode.h>
#endif
+#endif
#ifdef HAVE_UFS_UFS_QUOTA_H
#include <ufs/ufs/quota.h>
#endif