mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +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
658 B
Plaintext
37 lines
658 B
Plaintext
*** plot.c.orig Tue Apr 15 01:07:37 1997
|
|
--- plot.c Tue Apr 15 02:42:45 1997
|
|
***************
|
|
*** 15,25 ****
|
|
|
|
extern char *strcpy();
|
|
|
|
#ifdef VMS
|
|
#include <perror.h>
|
|
- #include <errno.h>
|
|
#else
|
|
extern char *sys_errlist[];
|
|
extern errno;
|
|
#endif
|
|
|
|
--- 15,34 ----
|
|
|
|
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
|
|
|