]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Jun 2011 22:50:46 +0000 (15:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Jun 2011 22:50:46 +0000 (15:50 -0700)
Without this, prin1 mishandles Lisp_Misc_Save_Value printing on
hosts with pre-C99 libraries, because pD is wrongly defined to "t".

src/ChangeLog
src/lisp.h

index ae1a00cf173b33fd16b9341b9c1455cf0b09c095..e8aa1c67d3c7b7effa6810cba8168c0e3a39096c 100644 (file)
@@ -1,5 +1,9 @@
 2011-06-16  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.
+       Without this, prin1 mishandles Lisp_Misc_Save_Value printing on
+       hosts with pre-C99 libraries, because pD is wrongly defined to "t".
+
        Improve buffer-overflow checking (Bug#8873).
        * fileio.c (Finsert_file_contents):
        * insdel.c (insert_from_buffer_1, replace_range, replace_range_2):
index 75827deda1a46d06a608b4f49442b7f8173ae5ec..1e3036344f5eed384ae74ec014b0908416c55bc1 100644 (file)
@@ -23,6 +23,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <stdarg.h>
 #include <stddef.h>
 #include <inttypes.h>
+#include <limits.h>
 
 #include <intprops.h>