mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
17 lines
631 B
Plaintext
17 lines
631 B
Plaintext
--- ./src/error.c.orig Sat Jan 11 19:09:35 2003
|
|
+++ ./src/error.c Sat Jan 11 19:09:54 2003
|
|
@@ -51,11 +51,11 @@
|
|
/* ----------------------------------------------------------------------
|
|
* some external identifiers
|
|
*/
|
|
-extern int errno, /* system error code */
|
|
- sys_nerr; /* number of messages available from array */
|
|
|
|
/* the list is already defined for some OS */
|
|
#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__linux__)
|
|
+extern int errno, /* system error code */
|
|
+ sys_nerr; /* number of messages available from array */
|
|
extern char *sys_errlist[]; /* array of error messages */
|
|
#endif
|
|
|