mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
7a50961592
in LOCAL_PORTS because those out on the 'net can't agree on the right size and include DOS executables and such. PR: 3407 Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
37 lines
664 B
Plaintext
37 lines
664 B
Plaintext
*** listing.c.orig Tue Apr 15 01:07:37 1997
|
|
--- listing.c Tue Apr 15 01:38:22 1997
|
|
***************
|
|
*** 12,22 ****
|
|
|
|
extern char *strcpy();
|
|
|
|
#ifdef VMS
|
|
#include <perror.h>
|
|
- #include <errno.h>
|
|
#else
|
|
extern char *sys_errlist[];
|
|
extern errno;
|
|
#endif
|
|
|
|
--- 12,31 ----
|
|
|
|
extern char *strcpy();
|
|
|
|
+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
+ #include <sys/param.h>
|
|
+ #endif
|
|
+
|
|
+ #if defined(VMS) || defined(unix)
|
|
+ #include <errno.h>
|
|
+ #endif
|
|
+
|
|
#ifdef VMS
|
|
#include <perror.h>
|
|
#else
|
|
+ #ifndef BSD
|
|
extern char *sys_errlist[];
|
|
+ #endif
|
|
extern errno;
|
|
#endif
|
|
|