diff options
Diffstat (limited to 'astro/ephem/files/patch-ae')
-rw-r--r-- | astro/ephem/files/patch-ae | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/astro/ephem/files/patch-ae b/astro/ephem/files/patch-ae new file mode 100644 index 000000000000..34eb5ed9f66b --- /dev/null +++ b/astro/ephem/files/patch-ae @@ -0,0 +1,36 @@ +*** 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 + |