mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
21 lines
501 B
C
21 lines
501 B
C
--- haup_remote.c.orig 2000-05-21 15:10:04 UTC
|
|
+++ haup_remote.c
|
|
@@ -38,9 +38,16 @@
|
|
#include <sys/fcntl.h>
|
|
#ifdef __NetBSD__
|
|
# include <dev/ic/bt8xx.h>
|
|
+#endif
|
|
+#ifdef __FreeBSD__
|
|
+#include <osreldate.h>
|
|
+#if __FreeBSD_version > 500000
|
|
+#include <dev/bktr/ioctl_meteor.h>
|
|
+#include <dev/bktr/ioctl_bt848.h>
|
|
#else
|
|
-# include <machine/ioctl_meteor.h>
|
|
-# include <machine/ioctl_bt848.h>
|
|
+#include <machine/ioctl_bt848.h>
|
|
+#include <machine/ioctl_meteor.h>
|
|
+#endif
|
|
#endif
|
|
#include "haup_remote.h"
|
|
|