mirror of
https://github.com/mirror/wget.git
synced 2026-08-22 19:03:27 +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:
@@ -118,7 +118,6 @@ libunistring-optional
|
|||||||
unistr/u8-strlen
|
unistr/u8-strlen
|
||||||
unicase/u8-tolower
|
unicase/u8-tolower
|
||||||
utime
|
utime
|
||||||
utime-h
|
|
||||||
utimens
|
utimens
|
||||||
vasprintf
|
vasprintf
|
||||||
vsnprintf
|
vsnprintf
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ dnl Checks for system header files that might be missing.
|
|||||||
dnl
|
dnl
|
||||||
AC_HEADER_STDBOOL
|
AC_HEADER_STDBOOL
|
||||||
AC_CHECK_HEADERS(unistd.h sys/time.h)
|
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_HEADERS(stdint.h inttypes.h pwd.h wchar.h dlfcn.h)
|
||||||
|
|
||||||
AC_CHECK_DECLS(h_errno,,,[#include <netdb.h>])
|
AC_CHECK_DECLS(h_errno,,,[#include <netdb.h>])
|
||||||
|
|||||||
@@ -45,14 +45,7 @@ as that of the covered work. */
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <utime.h>
|
||||||
#if HAVE_UTIME
|
|
||||||
# include <sys/types.h>
|
|
||||||
# include <utime.h>
|
|
||||||
# ifdef HAVE_SYS_UTIME_H
|
|
||||||
# include <sys/utime.h>
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user