1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/cad/pcb/files/patch-af
2003-01-12 03:13:24 +00:00

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