ports/ftp/tnftpd/files/patch-src-logutmp.c
Beech Rintoul 6d5be51723 - Update to 20080609
PR:		ports/126749
Submitted by:	Yarema <yds@CoolRat.org>
Approved by:	Rudolf Cejka <cejkar@fit.vutbr.cz> (maintainer)
2008-08-23 20:13:18 +00:00

21 lines
478 B
C

FreeBSD does not have header file util.h, fortunately it is not needed.
Add header file time.h for time().
--- src/logutmp.c.orig 2006-12-04 16:13:22.000000000 -0500
+++ src/logutmp.c 2006-12-04 16:13:22.000000000 -0500
@@ -59,13 +59,13 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <ttyent.h>
#include <unistd.h>
#include <utmp.h>
#ifdef SUPPORT_UTMPX
#include <utmpx.h>
#endif
-#include <util.h>
#include "extern.h"