mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
PR: ports/126749 Submitted by: Yarema <yds@CoolRat.org> Approved by: Rudolf Cejka <cejkar@fit.vutbr.cz> (maintainer)
21 lines
478 B
C
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"
|
|
|