]> git.pld-linux.org Git - packages/doomlegacy.git/blame - doomlegacy-errno.patch
- changed location of legacy.dat
[packages/doomlegacy.git] / doomlegacy-errno.patch
CommitLineData
746b6f37 1--- doomlegacy-1.40/doomlegacy_142_src/linux_x/i_sound.c.orig Fri Mar 7 22:14:51 2003
2+++ doomlegacy-1.40/doomlegacy_142_src/linux_x/i_sound.c Fri Mar 7 22:18:30 2003
30c4e2b9
JB
3@@ -88,6 +88,7 @@
4 #include <sys/filio.h>
5 #endif
6
7+#include <errno.h>
8 #include <fcntl.h>
9 #include <unistd.h>
10 #include <sys/ioctl.h>
746b6f37 11@@ -262,7 +262,6 @@
12 void myioctl(int fd, int command, int *arg)
13 {
14 int rc;
15- extern int errno;
16
17 rc = ioctl(fd, command, arg);
30c4e2b9 18 if (rc < 0)
746b6f37 19--- doomlegacy-1.40/doomlegacy_142_src/linux_x/sndserv/linux.c.orig Sun Sep 22 00:35:57 2002
20+++ doomlegacy-1.40/doomlegacy_142_src/linux_x/sndserv/linux.c Fri Mar 7 22:22:26 2003
30c4e2b9
JB
21@@ -39,6 +39,7 @@
22
23 #include <stdlib.h>
24 #include <stdio.h>
25+#include <errno.h>
26 #include <fcntl.h>
27 #include <unistd.h>
28 #include <sys/ioctl.h>
29@@ -67,7 +68,6 @@
30 int* arg )
31 {
32 int rc;
33- extern int errno;
34
35 rc = ioctl(fd, command, arg);
36 if (rc < 0)
This page took 0.068449 seconds and 4 git commands to generate.