summaryrefslogtreecommitdiff
path: root/sysutils/hal/patches/patch-am
blob: 1b76c601f7438c19148679c967d11135d74d9ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-am,v 1.1 2008/11/24 21:13:19 hasso Exp $

--- hald/freebsd/libprobe/hfp-cdrom.c.orig	2008-11-24 14:23:52 +0200
+++ hald/freebsd/libprobe/hfp-cdrom.c	2008-11-23 19:36:53 +0200
@@ -32,7 +32,11 @@
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
+#ifdef __DragonFly__
+#include <sys/nata.h>
+#else
 #include <sys/ata.h>
+#endif
 #include <stdio.h>
 #include <camlib.h>
 #include <cam/scsi/scsi_message.h>