mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Unconditionally include locale.h.
This commit is contained in:
parent
e95b5d6e44
commit
cf48fcc2bb
@ -1,3 +1,7 @@
|
||||
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* m4/wget.m4 (WGET_WITH_NLS): Don't check for locale.h.
|
||||
|
||||
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* configure.in: Test for $LIBSSL instead of the old $ssl_success
|
||||
|
@ -279,7 +279,7 @@ AC_DEFUN([WGET_WITH_NLS],
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS(locale.h libintl.h)
|
||||
AC_CHECK_HEADERS(libintl.h)
|
||||
|
||||
dnl Prefer gettext found in -lintl to the one in libc.
|
||||
dnl Otherwise it can happen that we include libintl.h from
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* utils.c: Unconditionally include locale.h.
|
||||
|
||||
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* ptimer.c: Include sys/time.h to get struct timeval.
|
||||
|
@ -36,7 +36,7 @@ so, delete this exception statement from your version. */
|
||||
#endif /* HAVE_UNISTD_H */
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#if defined(HAVE_NLS) && defined(HAVE_LOCALE_H)
|
||||
#ifdef HAVE_NLS
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include <assert.h>
|
||||
|
@ -58,9 +58,7 @@ so, delete this exception statement from your version. */
|
||||
#include <fcntl.h>
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include <locale.h>
|
||||
|
||||
/* For TIOCGWINSZ and friends: */
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
|
Loading…
Reference in New Issue
Block a user