1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/audio/tuneradio/files/patch-tuneradio.c
Kirill Ponomarev 42c9f2c8fe - Fix build on AMD64
Approved by:	maintainer informed
2004-02-09 20:43:42 +00:00

16 lines
351 B
C

--- tuneradio.c.orig Fri Oct 31 06:53:39 2003
+++ tuneradio.c Mon Feb 9 21:40:26 2004
@@ -41,7 +41,12 @@
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
+#include <sys/param.h>
+#if __FreeBSD_version >= 502100
+#include <dev/bktr/ioctl_bt848.h>
+#else
#include <machine/ioctl_bt848.h>
+#endif
#define TRUE 1
#define FALSE 0