]> code.delx.au - gnu-emacs/commitdiff
* xselect.c: Include <limits.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Jun 2011 20:14:12 +0000 (13:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Jun 2011 20:14:12 +0000 (13:14 -0700)
src/ChangeLog
src/xselect.c

index 20308d40ab0c8d2a6f8ebe6e88896a7bb73f4571..de227b4525648847500cbc27ab42120e47398c41 100644 (file)
@@ -19,7 +19,8 @@
        * undo.c (record_first_change): Use INTEGER_TO_CONS.
        (Fprimitive_undo): Use CONS_TO_INTEGER.
        * xfns.c (Fx_window_property): Likewise.
-       * xselect.c (x_own_selection, selection_data_to_lisp_data):
+       * xselect.c: Include <limits.h>.
+       (x_own_selection, selection_data_to_lisp_data):
        Use INTEGER_TO_CONS.
        (x_handle_selection_request, x_handle_selection_clear)
        (x_get_foreign_selection, Fx_disown_selection_internal)
index 7545a44b1bc00f9f823d8d7443b5155f33d9959e..ae73aa2d6a6f6cd0dfc83ef64241e45ecfcb8fef 100644 (file)
@@ -20,6 +20,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 /* Rewritten by jwz */
 
 #include <config.h>
+#include <limits.h>
 #include <stdio.h>      /* termhooks.h needs this */
 #include <setjmp.h>