1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/japanese/okphone/files/patch-ag
2002-12-03 06:25:41 +00:00

22 lines
410 B
Plaintext

--- ./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) {