freebsd-ports/mail/mh/files/patch-am
Hidetoshi Shimokawa 93aa89f88c Fix for alpha.
- remove 'long time()' and add '#include <time.h>'.
1999-01-16 12:15:50 +00:00

23 lines
420 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- zotnet/mts/lock.c.orig Wed Dec 1 13:01:30 1993
+++ zotnet/mts/lock.c Sat Jan 16 20:52:20 1999
@@ -47,6 +47,11 @@
#include <sys/file.h>
#endif
+#ifdef __FreeBSD__
+#include <fcntl.h>
+#endif
+#include <time.h>
+
#ifdef SYS5
#define u_short ushort
#define u_long ulong
@@ -71,8 +76,6 @@
static int b_lkopen(), lockit(), f_lkopen();
static lockname(), timerON(), timerOFF();
-
-long time ();
/* */