pkgsrc/net/net-snmp/patches/patch-do

16 lines
397 B
Text

$NetBSD: patch-do,v 1.1 2006/03/19 22:03:29 joerg Exp $
--- agent/mibgroup/ucd-snmp/disk.c.orig 2004-10-05 07:50:38.000000000 +0000
+++ agent/mibgroup/ucd-snmp/disk.c
@@ -45,9 +45,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