summaryrefslogtreecommitdiff
path: root/japanese/okphone/files/patch-ag
blob: 9e7ae910dcbd2e824b7eb5392b30d72d45f2bd05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ./client/misc.c.orig	Mon Dec  2 22:27:53 2002
+++ ./client/misc.c	Mon Dec  2 22:28:24 2002
@@ -1,3 +1,4 @@
+#include <errno.h>
 #include "defs.h"
 #undef   echo()
 #undef   noecho()
@@ -27,11 +28,11 @@
 int    fatal;
 char  *mesg;
 {
-	extern int   errno;
 #ifndef __FreeBSD__
+	extern int   errno;
 	extern char  *sys_errlist[];
-#endif
 	extern int   sys_nerr;
+#endif
 	char   buf[80];
 
 	if (errno) {