$NetBSD: patch-dj,v 1.3 2014/11/30 08:40:51 spz Exp $

Although DragonFly has a POSIX.1e implementation, it's too old at the
moment to be usable here.

--- support/sys-xattr.c.orig	2014-09-22 13:23:09.000000000 +0000
+++ support/sys-xattr.c
@@ -11,7 +11,7 @@
 
 #include <config.h>
 
-#if defined(HAVE_SYS_XATTR_H) || defined(HAVE_ATTR_ATTR_H) || defined(HAVE_SYS_EXTATTR_H)
+#if defined(HAVE_SYS_XATTR_H) || defined(HAVE_ATTR_ATTR_H) || (defined(HAVE_SYS_EXTATTR_H) && !defined(__DragonFly__))
 
 #include <sys/types.h>
 
