aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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