24 lines
504 B
C
24 lines
504 B
C
|
|
$FreeBSD$
|
|
|
|
--- pixelview_remote.c.orig
|
|
+++ pixelview_remote.c
|
|
@@ -39,9 +39,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_bt848.h>
|
|
+#include <dev/bktr/ioctl_meteor.h>
|
|
#else
|
|
-# include <machine/ioctl_meteor.h>
|
|
-# include <machine/ioctl_bt848.h>
|
|
+#include <machine/ioctl_meteor.h>
|
|
+#include <machine/ioctl_bt848.h>
|
|
+#endif
|
|
#endif
|
|
#include "pixelview_remote.h"
|
|
|