mktime: merge <sys/types.h> change from gnulib

This commit is contained in:
Paul Eggert 2012-05-22 06:07:58 -07:00 committed by H.J. Lu
parent 95770f140b
commit bd83aabe5a
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
mktime: merge <sys/types.h> change from gnulib
* time/mktime.c: Do not include <sys/types.h>; no longer needed,
since <time.t> is now guaranteed to define time_t.
mktime: merge HAVE_CONFIG_H change from gnulib
* time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.

View File

@ -32,7 +32,6 @@
# define LEAP_SECONDS_POSSIBLE 1
#endif
#include <sys/types.h> /* Some systems define `time_t' here. */
#include <time.h>
#include <limits.h>