summaryrefslogtreecommitdiff
path: root/multimedia/dtv/files/patch-defs.h
blob: 352edad42153cbe73e5f681a372f7eab78add777 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- defs.h.orig	Mon Feb 11 04:14:17 2002
+++ defs.h	Sun Feb  1 20:01:30 2004
@@ -10,9 +10,17 @@
 #include <sys/mman.h>
 #include <sys/ipc.h>
 #include <sys/shm.h>
+#ifdef __FreeBSD__
+#include <osreldate.h>
+#if __FreeBSD_version > 500000
+#include <dev/bktr/ioctl_bt848.h>
+#include <dev/bktr/ioctl_meteor.h>
+#else
 #include <machine/ioctl_bt848.h>
 #include <machine/ioctl_meteor.h>
-#include <machine/soundcard.h>
+#endif
+#endif
+#include <sys/soundcard.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>