mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 00:12:45 +00:00
Don't depend on <pwd.h> to bogusly include <sys/types.h>.
This commit is contained in:
parent
30d12b5c86
commit
6a85a2d149
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98069
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user