mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
670b20af8f
and #include <errno.h>).
22 lines
410 B
Plaintext
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) {
|