diff -c -r src/queue.c.orig src/queue.c *** src/queue.c.orig Sun Sep 20 21:55:05 1992 --- src/queue.c Sun Oct 16 14:33:03 1994 *************** *** 454,460 **** --- 454,462 ---- fixup_login_user() { register int i; + #ifndef __FreeBSD__ extern long lseek(); + #endif struct passwd *pw; if (local_sender) diff -c -r src/retry.c.orig src/retry.c *** src/retry.c.orig Mon Sep 21 03:46:28 1992 --- src/retry.c Sun Oct 16 14:36:52 1994 *************** *** 19,24 **** --- 19,27 ---- #include #include #include + #ifdef __FreeBSD__ + #include + #endif #include "defs.h" #include "smail.h" #include "addr.h" diff -c -r src/spool.c.orig src/spool.c *** src/spool.c.orig Sat Jul 11 20:51:12 1992 --- src/spool.c Sun Oct 16 14:38:58 1994 *************** *** 108,114 **** --- 108,116 ---- static void log_message(); /* functions imported from libc */ + #ifndef __FreeBSD__ long lseek(); + #endif struct tm *localtime(); struct tm *gmtime(); char *ctime(); diff -c -r src/string.c.orig src/string.c *** src/string.c.orig Sun Sep 20 21:55:07 1992 --- src/string.c Sun Oct 16 14:04:27 1994 *************** *** 197,203 **** --- 197,205 ---- strerrno() { static char misc_err[50]; /* used when sprintf must be used */ + #ifndef __FreeBSD__ extern char *sys_errlist[]; /* list of error strings */ + #endif extern int sys_nerr; /* number of entries in sys_errlist */ if (errno > sys_nerr || errno < 0) { diff -c -r src/sysdep.c.orig src/sysdep.c *** src/sysdep.c.orig Thu Sep 10 07:30:32 1992 --- src/sysdep.c Sun Oct 16 14:41:06 1994 *************** *** 121,127 **** --- 121,129 ---- static int lockfile_name(); /* imported library functions */ + #ifndef __FreeBSD__ extern long lseek(); + #endif extern long time(); extern char *getenv(); extern char *getlogin();