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>
34 lines
816 B
Plaintext
34 lines
816 B
Plaintext
*** objx.c.orig Tue Apr 15 01:07:37 1997
|
|
--- objx.c Tue Apr 15 01:33:17 1997
|
|
***************
|
|
*** 6,12 ****
|
|
#include <stdio.h>
|
|
#include <math.h>
|
|
#include <ctype.h>
|
|
! #ifdef VMS
|
|
#include <stdlib.h>
|
|
#endif
|
|
#include "astro.h"
|
|
--- 6,12 ----
|
|
#include <stdio.h>
|
|
#include <math.h>
|
|
#include <ctype.h>
|
|
! #if defined(VMS) || defined(unix)
|
|
#include <stdlib.h>
|
|
#endif
|
|
#include "astro.h"
|
|
***************
|
|
*** 16,22 ****
|
|
--- 16,26 ----
|
|
extern char *strcat(), *strcpy(), *strncpy(), *getenv();
|
|
|
|
static char *dbfile; /* !0 if set by -d option */
|
|
+ #ifdef unix
|
|
+ static char dbfdef[] = PREFIX "/share/ephem/ephem.db"; /* default database file name */
|
|
+ #else
|
|
static char dbfdef[] = "ephem.db"; /* default database file name */
|
|
+ #endif
|
|
|
|
/* structures to describe objects of various types.
|
|
*/
|