795a7abdfb
Patch privately provided by Jan Kosir.
22 lines
650 B
Text
22 lines
650 B
Text
$NetBSD: patch-ac,v 1.1 2005/10/18 15:31:58 joerg Exp $
|
|
|
|
--- growisofs.c.orig 2004-08-25 01:02:29.000000000 +0200
|
|
+++ growisofs.c
|
|
@@ -331,7 +331,7 @@
|
|
#ifndef _GNU_SOURCE
|
|
#define _GNU_SOURCE
|
|
#endif
|
|
-#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
|
|
+#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
#define off64_t off_t
|
|
#define stat64 stat
|
|
#define fstat64 fstat
|
|
@@ -735,7 +735,7 @@ char *setup_fds (char *device)
|
|
goto open_rw;
|
|
}
|
|
|
|
-#elif defined(__FreeBSD__)
|
|
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
|
|
|
#include <sys/cdio.h>
|
|
#include <camlib.h>
|