Don't depend on <pwd.h> to bogusly include <sys/types.h>.

This commit is contained in:
Mike Barcroft 2002-06-09 19:29:55 +00:00
parent 30d12b5c86
commit 6a85a2d149
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98069
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@
*
* Copyright (c) 1984, 1989, William LeFebvre, Rice University
* Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
*
* $FreeBSD$
*/
/*
@ -28,6 +30,7 @@
* This makes the table size independent of the passwd file size.
*/
#include <sys/types.h>
#include <stdio.h>
#include <pwd.h>
#include <utmp.h>

View File

@ -36,6 +36,7 @@ __RCSID("$FreeBSD$");
__RCSID("$NetBSD: lastlogin.c,v 1.4 1998/02/03 04:45:35 perry Exp $");
#endif
#include <sys/types.h>
#include <err.h>
#include <pwd.h>
#include <stdio.h>