Solaris portability problem.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Nov 2003 11:36:58 +0000 (11:36 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 5 Nov 2003 11:36:58 +0000 (11:36 +0000)
lib/ChangeLog
lib/xsize.h

index 24f9a9cbe4cf75d1d7fc2687b897a6570826f820..077788bb10725358432a8a49748d21bb6a0371d7 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-05  Bruno Haible  <bruno@clisp.org>
+
+       * xsize.h: Include limits.h, to avoid a possible collision with
+       SIZE_MAX defined in <limits.h> on Solaris.
+
 2003-11-04  Bruno Haible  <bruno@clisp.org>
 
        * xsize.h: New file.
index 4410193e663eaf3c65fc6a53a494d2fbb0160aa1..34919f8b7ca3dff31335602daa2a3c13d2f9589f 100644 (file)
@@ -23,6 +23,7 @@
 #include <stddef.h>
 
 /* Get SIZE_MAX.  */
+#include <limits.h>
 #if HAVE_STDINT_H
 # include <stdint.h>
 #endif