projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d36599
)
* xselect.c: Include <limits.h>.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 3 Jun 2011 20:14:12 +0000
(13:14 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 3 Jun 2011 20:14:12 +0000
(13:14 -0700)
src/ChangeLog
patch
|
blob
|
history
src/xselect.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 20308d40ab0c8d2a6f8ebe6e88896a7bb73f4571..de227b4525648847500cbc27ab42120e47398c41 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-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)
diff --git
a/src/xselect.c
b/src/xselect.c
index 7545a44b1bc00f9f823d8d7443b5155f33d9959e..ae73aa2d6a6f6cd0dfc83ef64241e45ecfcb8fef 100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-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>