aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lastlogin/lastlogin.c
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-06-09 19:29:55 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-06-09 19:29:55 +0000
commit6a85a2d149cc9a35982daa28c441e1566024e3e0 (patch)
tree2c126be0406b6d8d575a636e71bb1aa3c6159ef8 /usr.sbin/lastlogin/lastlogin.c
parent30d12b5c8696be0f0f417009bdb15fd111bd087f (diff)
downloadsrc-6a85a2d149cc9a35982daa28c441e1566024e3e0.tar.gz
src-6a85a2d149cc9a35982daa28c441e1566024e3e0.zip
Don't depend on <pwd.h> to bogusly include <sys/types.h>.
Notes
Notes: svn path=/head/; revision=98069
Diffstat (limited to 'usr.sbin/lastlogin/lastlogin.c')
-rw-r--r--usr.sbin/lastlogin/lastlogin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/lastlogin/lastlogin.c b/usr.sbin/lastlogin/lastlogin.c
index 29ef1cb48ccb..77c89948e3fc 100644
--- a/usr.sbin/lastlogin/lastlogin.c
+++ b/usr.sbin/lastlogin/lastlogin.c
@@ -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>