summaryrefslogtreecommitdiff
path: root/games/uhexen/files/patch-src_i__fbsdvideo.c
blob: 525f2ba0c2ffb777c5ae4093222eb24f50d502bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/i_fbsdvideo.c.orig	2023-04-15 12:37:20 UTC
+++ src/i_fbsdvideo.c
@@ -8,7 +8,7 @@
 #include <sys/fbio.h>
 #include <sys/kbio.h>
 #include <sys/consio.h>
-#include <sys/termios.h>
+#include <termios.h>
 #include <sys/mman.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -26,7 +26,7 @@
 #define RestorePalette()  SavRstPalette(FBIO_SETPALETTE)
 
 extern int usemouse;
-int mouse_scale_factor;
+extern int mouse_scale_factor;
 
 static event_t	event;