diff --git a/ChangeLog b/ChangeLog index 9dbae27c..aea73d91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-06-29 Hrvoje Niksic + + * m4/wget.m4 (WGET_WITH_NLS): Don't check for locale.h. + 2005-06-29 Hrvoje Niksic * configure.in: Test for $LIBSSL instead of the old $ssl_success diff --git a/m4/wget.m4 b/m4/wget.m4 index c115de75..86ced408 100644 --- a/m4/wget.m4 +++ b/m4/wget.m4 @@ -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 diff --git a/src/ChangeLog b/src/ChangeLog index 7e1617c8..bbe364c6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-06-29 Hrvoje Niksic + + * utils.c: Unconditionally include locale.h. + 2005-06-29 Hrvoje Niksic * ptimer.c: Include sys/time.h to get struct timeval. diff --git a/src/main.c b/src/main.c index ecbd8808..d05292a7 100644 --- a/src/main.c +++ b/src/main.c @@ -36,7 +36,7 @@ so, delete this exception statement from your version. */ #endif /* HAVE_UNISTD_H */ #include #include -#if defined(HAVE_NLS) && defined(HAVE_LOCALE_H) +#ifdef HAVE_NLS # include #endif #include diff --git a/src/utils.c b/src/utils.c index d785f1ba..a88d1290 100644 --- a/src/utils.c +++ b/src/utils.c @@ -58,9 +58,7 @@ so, delete this exception statement from your version. */ #include #include #include -#ifdef HAVE_LOCALE_H -# include -#endif +#include /* For TIOCGWINSZ and friends: */ #ifdef HAVE_SYS_IOCTL_H