summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-08-06 15:41:52 +0000
committerBruno Haible <bruno@clisp.org>2001-08-06 15:41:52 +0000
commit72c6e0651dd9d85461c46301e47fb54e6c7b4f33 (patch)
treeb8fd9917a2165d5ffca6460681cf6a8f0f616a1c /src
parentc7ba43d58323ffaf43b7b4d6318c6be48a43f09d (diff)
downloadexternal_gettext-72c6e0651dd9d85461c46301e47fb54e6c7b4f33.zip
external_gettext-72c6e0651dd9d85461c46301e47fb54e6c7b4f33.tar.gz
external_gettext-72c6e0651dd9d85461c46301e47fb54e6c7b4f33.tar.bz2
Assume <limits.h> exists.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/msgcomm.c8
-rw-r--r--src/msgexec.c5
-rw-r--r--src/msggrep.c5
-rw-r--r--src/write-po.c5
5 files changed, 12 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 420cdb5..65992f4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+2001-07-23 Bruno Haible <haible@clisp.cons.org>
+
+ * msgcomm.c: Assume <limits.h> exists.
+ * msgexec.c: Likewise.
+ * msggrep.c: Likewise.
+ * write-po.c: Likewise.
+
2001-08-02 Bruno Haible <haible@clisp.cons.org>
* gettext.c (usage): Change bug report address to
diff --git a/src/msgcomm.c b/src/msgcomm.c
index aabbd44..cff0e08 100644
--- a/src/msgcomm.c
+++ b/src/msgcomm.c
@@ -23,15 +23,11 @@
#include <errno.h>
#include <getopt.h>
+#include <limits.h>
+#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#endif
-
-#include <locale.h>
-
#include "dir-list.h"
#include "str-list.h"
#include "error.h"
diff --git a/src/msgexec.c b/src/msgexec.c
index 8427a05..f3cd8ff 100644
--- a/src/msgexec.c
+++ b/src/msgexec.c
@@ -24,6 +24,7 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
+#include <limits.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
@@ -35,10 +36,6 @@
# include <unistd.h>
#endif
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#endif
-
#include "dir-list.h"
#include "error.h"
#include "progname.h"
diff --git a/src/msggrep.c b/src/msggrep.c
index daa9b3d..107c731 100644
--- a/src/msggrep.c
+++ b/src/msggrep.c
@@ -24,6 +24,7 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
+#include <limits.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
@@ -33,10 +34,6 @@
# include <unistd.h>
#endif
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#endif
-
#include "dir-list.h"
#include "error.h"
#include "progname.h"
diff --git a/src/write-po.c b/src/write-po.c
index 2d1220c..babac70 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 <errno.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#endif
-
#if HAVE_ICONV
# include <iconv.h>
#endif