aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/fxtv/files/patch-ad
blob: 35007908089c230632ae8e6d956abc62653ac8e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- remote.c.orig   Sun Dec 10 14:02:55 2000
+++ remote.c    Sun Dec 10 14:06:22 2000
@@ -45,7 +45,16 @@
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <machine/mouse.h>
+#ifdef __FreeBSD__
+# include <sys/param.h>
+# if __FreeBSD_version >= 500013
+#  include <sys/mouse.h>
+# else
+#  include <machine/mouse.h>
+# endif
+#else
+# include <machine/mouse.h>
+#endif
 #include <X11/Intrinsic.h>
 #include "tvdebug.h"
 #include "tvutil.h"