summaryrefslogtreecommitdiff
path: root/emulators/qemu/patches/patch-dc
blob: 140841025794facd7d4b4907be722016c85c8fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-dc,v 1.1 2009/08/31 10:18:49 hasso Exp $

--- block.c.orig	2009-07-17 03:56:22 +0300
+++ block.c	2009-08-30 15:53:21 +0300
@@ -35,8 +35,10 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#ifndef __DragonFly__
 #include <sys/disk.h>
 #endif
+#endif
 
 #define SECTOR_BITS 9
 #define SECTOR_SIZE (1 << SECTOR_BITS)