summaryrefslogtreecommitdiff
path: root/dev-games/KXL/files/KXL-1.1.7-implicit-function-declarations.patch
blob: ac1d0e530a4cac41e8f26453905af8a7744b7032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/src/KXLjoystick.c
+++ b/src/KXLjoystick.c
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <sys/ioctl.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include "KXL.h"
 
--- a/src/KXLsound.c
+++ b/src/KXLsound.c
@@ -7,6 +7,7 @@
 #include <sys/ioctl.h>
 #include <sys/time.h>
 #include <sys/soundcard.h>
+#include <unistd.h>
 #include "KXL.h"
 
 #define MIN(a, b)  (((a) < (b)) ? (a) : (b))