1
0
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:
hniksic 2005-06-29 14:45:44 -07:00
parent e95b5d6e44
commit cf48fcc2bb
5 changed files with 11 additions and 5 deletions

View File

@ -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> 2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Test for $LIBSSL instead of the old $ssl_success * configure.in: Test for $LIBSSL instead of the old $ssl_success

View File

@ -279,7 +279,7 @@ AC_DEFUN([WGET_WITH_NLS],
fi fi
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 Prefer gettext found in -lintl to the one in libc.
dnl Otherwise it can happen that we include libintl.h from dnl Otherwise it can happen that we include libintl.h from

View File

@ -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> 2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
* ptimer.c: Include sys/time.h to get struct timeval. * ptimer.c: Include sys/time.h to get struct timeval.

View File

@ -36,7 +36,7 @@ so, delete this exception statement from your version. */
#endif /* HAVE_UNISTD_H */ #endif /* HAVE_UNISTD_H */
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
#if defined(HAVE_NLS) && defined(HAVE_LOCALE_H) #ifdef HAVE_NLS
# include <locale.h> # include <locale.h>
#endif #endif
#include <assert.h> #include <assert.h>

View File

@ -58,9 +58,7 @@ so, delete this exception statement from your version. */
#include <fcntl.h> #include <fcntl.h>
#include <assert.h> #include <assert.h>
#include <stdarg.h> #include <stdarg.h>
#ifdef HAVE_LOCALE_H #include <locale.h>
# include <locale.h>
#endif
/* For TIOCGWINSZ and friends: */ /* For TIOCGWINSZ and friends: */
#ifdef HAVE_SYS_IOCTL_H #ifdef HAVE_SYS_IOCTL_H