Don't depend only <stdio.h> bogusly including <sys/types.h>.

(<sys/types.h> is a prerequisite for <login_cap.h> mainly because
the latter wants to typedef rlim_t.  rlim_t is typedefed in
<sys/types.h> in NetBSD.)
This commit is contained in:
Bruce Evans 1997-01-05 07:12:29 +00:00
parent 1a6a2fcd2d
commit b488c451de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21329

View File

@ -20,7 +20,7 @@
*
* Login period parsing and comparison functions.
*
* $Id$
* $Id: login_times.c,v 1.1 1997/01/04 16:50:08 davidn Exp $
*/
#include <stdio.h>
@ -29,6 +29,7 @@
#include <time.h>
#include <ctype.h>
#include <sys/types.h>
#include <login_cap.h>
static struct