aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-06-03 13:14:12 -0700
committerPaul Eggert2011-06-03 13:14:12 -0700
commitaa76b908750df2d882a3a7767133928435b0fe85 (patch)
tree06573445e5df799d6ce964e2e724677764d32cec /src
parent2d365993f18598a29e1327937a5408669c18dc0a (diff)
downloademacs-aa76b908750df2d882a3a7767133928435b0fe85.tar.gz
emacs-aa76b908750df2d882a3a7767133928435b0fe85.zip
* xselect.c: Include <limits.h>.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xselect.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 20308d40ab0..de227b45256 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -19,7 +19,8 @@
19 * undo.c (record_first_change): Use INTEGER_TO_CONS. 19 * undo.c (record_first_change): Use INTEGER_TO_CONS.
20 (Fprimitive_undo): Use CONS_TO_INTEGER. 20 (Fprimitive_undo): Use CONS_TO_INTEGER.
21 * xfns.c (Fx_window_property): Likewise. 21 * xfns.c (Fx_window_property): Likewise.
22 * xselect.c (x_own_selection, selection_data_to_lisp_data): 22 * xselect.c: Include <limits.h>.
23 (x_own_selection, selection_data_to_lisp_data):
23 Use INTEGER_TO_CONS. 24 Use INTEGER_TO_CONS.
24 (x_handle_selection_request, x_handle_selection_clear) 25 (x_handle_selection_request, x_handle_selection_clear)
25 (x_get_foreign_selection, Fx_disown_selection_internal) 26 (x_get_foreign_selection, Fx_disown_selection_internal)
diff --git a/src/xselect.c b/src/xselect.c
index 7545a44b1bc..ae73aa2d6a6 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -20,6 +20,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20/* Rewritten by jwz */ 20/* Rewritten by jwz */
21 21
22#include <config.h> 22#include <config.h>
23#include <limits.h>
23#include <stdio.h> /* termhooks.h needs this */ 24#include <stdio.h> /* termhooks.h needs this */
24#include <setjmp.h> 25#include <setjmp.h>
25 26