Module Name: src Committed By: dholland Date: Fri Jan 22 23:59:44 UTC 2016
Modified Files: src/include: utmp.h Log Message: Needs sys/cdefs.h for __BEGIN_DECLS. Also add time.h to get time_t, rather than doing the machine/ansi.h #ifdef dance, as it doesn't matter much what symbols utmp.h exposes. This could be tightened later when we manage to do enough include cleanup to make such dances less expensive to maintain. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/include/utmp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/utmp.h diff -u src/include/utmp.h:1.12 src/include/utmp.h:1.13 --- src/include/utmp.h:1.12 Sun Jan 11 03:04:12 2009 +++ src/include/utmp.h Fri Jan 22 23:59:44 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: utmp.h,v 1.12 2009/01/11 03:04:12 christos Exp $ */ +/* $NetBSD: utmp.h,v 1.13 2016/01/22 23:59:44 dholland Exp $ */ /* * Copyright (c) 1988, 1993 @@ -39,6 +39,9 @@ #ifndef _UTMP_H_ #define _UTMP_H_ +#include <sys/cdefs.h> +#include <time.h> /* for time_t */ + #define _PATH_UTMP "/var/run/utmp" #define _PATH_WTMP "/var/log/wtmp" #define _PATH_LASTLOG "/var/log/lastlog"