$NetBSD: patch-ab,v 1.6 2008/12/02 19:58:53 wiz Exp $

--- src/nautilus-burn-drive.c.orig	2008-08-20 02:20:04.000000000 +0000
+++ src/nautilus-burn-drive.c
@@ -43,7 +43,7 @@
 #include <scsi/sg.h>
 #endif /* __linux__ */
 
-#ifdef __FreeBSD__
+#if defined (__FreeBSD__) || defined(__DragonFly__)
 #include <sys/cdio.h>
 #include <sys/cdrio.h>
 #include <camlib.h>
@@ -110,7 +110,7 @@ static struct _media_capacity {
         { NAUTILUS_BURN_MEDIA_TYPE_DVD_PLUS_R_DL,       9183000000LL },
 };
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__DragonFly__)
 
 #define get_ioctl_handle_fd(x) (((struct cam_device *)x)->fd)
 
