From: Bruno Haible Date: Mon, 6 Aug 2001 15:41:52 +0000 (+0000) Subject: Assume exists. X-Git-Tag: v0.11~563 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c6e0651dd9d85461c46301e47fb54e6c7b4f33;p=thirdparty%2Fgettext.git Assume exists. --- diff --git a/intl/ChangeLog b/intl/ChangeLog index 63d626990..b70893bbf 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,7 @@ +2001-07-23 Bruno Haible + + * gettext.h: Assume exists. + 2001-07-24 Bruno Haible * gettext-0.10.39 released. diff --git a/intl/gettext.h b/intl/gettext.h index eb5889074..101d8ef6d 100644 --- a/intl/gettext.h +++ b/intl/gettext.h @@ -18,9 +18,7 @@ #ifndef _GETTEXT_H #define _GETTEXT_H 1 -#if HAVE_LIMITS_H || _LIBC -# include -#endif +#include /* @@ end of prolog @@ */ diff --git a/lib/ChangeLog b/lib/ChangeLog index ff4549c6f..b4a1479bc 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2001-07-23 Bruno Haible + + * system.h: Assume exists. + * fstrcmp.c: Likewise. + 2001-07-01 Bruno Haible * utf8-ucs4.h: New file, extracted from linebreak.c. diff --git a/lib/fstrcmp.c b/lib/fstrcmp.c index dd1a1af68..1a0d74c66 100644 --- a/lib/fstrcmp.c +++ b/lib/fstrcmp.c @@ -36,12 +36,7 @@ #include #include - -#ifdef HAVE_LIMITS_H -# include -#else -# define INT_MAX ((int)(~(unsigned)0 >> 1)) -#endif +#include #include "system.h" #include "fstrcmp.h" diff --git a/lib/system.h b/lib/system.h index 0971ea57d..db756400a 100644 --- a/lib/system.h +++ b/lib/system.h @@ -94,11 +94,9 @@ char *alloca (); # endif #endif -/* Before we define the following symbols we get the file if - available since otherwise we get redefinitions on some systems. */ -#if HAVE_LIMITS_H -# include -#endif +/* Before we define the following symbols we get the file + since otherwise we get redefinitions on some systems. */ +#include #ifndef MAX # if __STDC__ && defined __GNUC__ && __GNUC__ >= 2 diff --git a/src/ChangeLog b/src/ChangeLog index 420cdb5fb..65992f407 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2001-07-23 Bruno Haible + + * msgcomm.c: Assume exists. + * msgexec.c: Likewise. + * msggrep.c: Likewise. + * write-po.c: Likewise. + 2001-08-02 Bruno Haible * gettext.c (usage): Change bug report address to diff --git a/src/msgcomm.c b/src/msgcomm.c index aabbd44bc..cff0e0878 100644 --- a/src/msgcomm.c +++ b/src/msgcomm.c @@ -23,15 +23,11 @@ #include #include +#include +#include #include #include -#ifdef HAVE_LIMITS_H -# include -#endif - -#include - #include "dir-list.h" #include "str-list.h" #include "error.h" diff --git a/src/msgexec.c b/src/msgexec.c index 8427a0567..f3cd8ffea 100644 --- a/src/msgexec.c +++ b/src/msgexec.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -35,10 +36,6 @@ # include #endif -#ifdef HAVE_LIMITS_H -# include -#endif - #include "dir-list.h" #include "error.h" #include "progname.h" diff --git a/src/msggrep.c b/src/msggrep.c index daa9b3df9..107c73132 100644 --- a/src/msggrep.c +++ b/src/msggrep.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -33,10 +34,6 @@ # include #endif -#ifdef HAVE_LIMITS_H -# include -#endif - #include "dir-list.h" #include "error.h" #include "progname.h" diff --git a/src/write-po.c b/src/write-po.c index 2d1220c03..babac70a4 100644 --- a/src/write-po.c +++ b/src/write-po.c @@ -22,14 +22,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #endif #include +#include #include #include #include -#ifdef HAVE_LIMITS_H -# include -#endif - #if HAVE_ICONV # include #endif