mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
31 lines
610 B
Plaintext
31 lines
610 B
Plaintext
|
--- xphoon.c.orig Thu Sep 19 04:57:37 1991
|
||
|
+++ xphoon.c Sun Jan 3 18:30:29 1999
|
||
|
@@ -31,9 +31,18 @@
|
||
|
|
||
|
/* Externals. */
|
||
|
|
||
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
||
|
+#include <sys/param.h>
|
||
|
+#endif
|
||
|
+
|
||
|
+#if (defined(BSD) && (BSD >= 199306))
|
||
|
+#include <stdlib.h>
|
||
|
+#include <time.h>
|
||
|
+#else
|
||
|
extern char* malloc();
|
||
|
extern long time();
|
||
|
extern long random();
|
||
|
+#endif
|
||
|
|
||
|
extern void getbits();
|
||
|
extern double jtime();
|
||
|
@@ -65,7 +74,7 @@
|
||
|
int blackflag, demoflag;
|
||
|
int printpid;
|
||
|
char* display_name;
|
||
|
- long clock;
|
||
|
+ time_t clock;
|
||
|
int pid, tty;
|
||
|
int size;
|
||
|
char* mooncopy;
|