mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
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:
parent
1a6a2fcd2d
commit
b488c451de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21329
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user