mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
22 lines
492 B
C
22 lines
492 B
C
--- tvcapture.c.orig 2001-02-12 18:59:22 UTC
|
|
+++ tvcapture.c
|
|
@@ -34,11 +34,18 @@
|
|
#include <stdlib.h>
|
|
#include <fcntl.h>
|
|
#include <errno.h>
|
|
+#include <sys/types.h>
|
|
#include <sys/mman.h>
|
|
#ifdef __NetBSD__
|
|
# include <dev/ic/bt8xx.h>
|
|
+#endif
|
|
+#ifdef __FreeBSD__
|
|
+#include <osreldate.h>
|
|
+#if __FreeBSD_version > 500000
|
|
+#include <dev/bktr/ioctl_bt848.h>
|
|
#else
|
|
-# include <machine/ioctl_bt848.h>
|
|
+#include <machine/ioctl_bt848.h>
|
|
+#endif
|
|
#endif
|
|
#include <signal.h>
|
|
#include <sys/ioctl.h>
|