1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/astro/ephem/files/patch-ah
Satoshi Asami 7a50961592 An interactive terminal-based ephemeris program. The source tarball is
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>
1997-06-03 09:14:13 +00:00

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