mirror of
https://github.com/mirror/wget.git
synced 2025-04-03 16:10:15 +08:00
Use gnulib's utime.h
* bootstrap.conf: Remove utime-h (included by utime). * configure.ac: Remove header checks for utime.h and sys/utime.h. * src/utils.c: Simply #include <utime.h>.
This commit is contained in:
parent
f81191951a
commit
7d9ed223fc
@ -118,7 +118,6 @@ libunistring-optional
|
||||
unistr/u8-strlen
|
||||
unicase/u8-tolower
|
||||
utime
|
||||
utime-h
|
||||
utimens
|
||||
vasprintf
|
||||
vsnprintf
|
||||
|
@ -307,7 +307,7 @@ dnl Checks for system header files that might be missing.
|
||||
dnl
|
||||
AC_HEADER_STDBOOL
|
||||
AC_CHECK_HEADERS(unistd.h sys/time.h)
|
||||
AC_CHECK_HEADERS(termios.h sys/ioctl.h sys/select.h utime.h sys/utime.h)
|
||||
AC_CHECK_HEADERS(termios.h sys/ioctl.h sys/select.h)
|
||||
AC_CHECK_HEADERS(stdint.h inttypes.h pwd.h wchar.h dlfcn.h)
|
||||
|
||||
AC_CHECK_DECLS(h_errno,,,[#include <netdb.h>])
|
||||
|
@ -45,14 +45,7 @@ as that of the covered work. */
|
||||
#include <stdarg.h>
|
||||
#include <locale.h>
|
||||
#include <errno.h>
|
||||
|
||||
#if HAVE_UTIME
|
||||
# include <sys/types.h>
|
||||
# include <utime.h>
|
||||
# ifdef HAVE_SYS_UTIME_H
|
||||
# include <sys/utime.h>
|
||||
# endif
|
||||
#endif
|
||||
#include <utime.h>
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user