unbreak the build by including the appropriate header files here.

This commit is contained in:
christos 2006-09-20 19:39:23 +00:00
parent c811931057
commit 14e0a0ccc6
1 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: utmpentry.h,v 1.4 2006/09/19 21:01:29 christos Exp $ */
/* $NetBSD: utmpentry.h,v 1.5 2006/09/20 19:39:23 christos Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -37,10 +37,12 @@
*/
#if defined(SUPPORT_UTMPX)
# include <utmpx.h>
# define WHO_NAME_LEN _UTX_USERSIZE
# define WHO_LINE_LEN _UTX_LINESIZE
# define WHO_HOST_LEN _UTX_HOSTSIZE
#elif defined(SUPPORT_UTMP)
# include <utmp.h>
# define WHO_NAME_LEN UT_NAMESIZE
# define WHO_LINE_LEN UT_LINESIZE
# define WHO_HOST_LEN UT_HOSTSIZE