summaryrefslogtreecommitdiff
blob: fca420bc01000c1da3376e92a993207ded77dbfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -urN compface-1.4.orig/cmain.c compface-1.4/cmain.c
--- compface-1.4.orig/cmain.c	2000-11-22 16:51:03.000000000 -0800
+++ compface-1.4/cmain.c	2003-02-27 09:11:08.000000000 -0800
@@ -53,11 +53,12 @@
 
 /* error handling definitions follow */
 
+#include <errno.h>
+
 #ifndef HAVE_STRERROR
-extern int errno, sys_nerr;
+extern int sys_nerr;
 extern char *sys_errlist[];
 #else
-extern int errno;
 char *strerror();
 char *strerrorwrap();
 #endif
diff -urN compface-1.4.orig/uncmain.c compface-1.4/uncmain.c
--- compface-1.4.orig/uncmain.c	2000-11-22 16:51:24.000000000 -0800
+++ compface-1.4/uncmain.c	2003-02-27 09:10:58.000000000 -0800
@@ -53,11 +53,12 @@
 
 /* error handling definitions follow */
 
+#include <errno.h>
+
 #ifndef HAVE_STRERROR
-extern int errno, sys_nerr;
+extern int sys_nerr;
 extern char *sys_errlist[];
 #else
-extern int errno;
 char *strerror();
 char *strerrorwrap();
 #endif