aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab1999-08-30 16:10:03 +0000
committerAndreas Schwab1999-08-30 16:10:03 +0000
commit67ba84d17ae7219d3a6b10c5b72c85a273df0572 (patch)
tree6b02d2baa7aae4e817013b4f07993dfa259eab62 /src
parentf5969ae957e5e3b92c7901428a0eb93999fc0489 (diff)
downloademacs-67ba84d17ae7219d3a6b10c5b72c85a273df0572.tar.gz
emacs-67ba84d17ae7219d3a6b10c5b72c85a273df0572.zip
Include <stdlib.h> if available, and declare abort only if not. Include
<ctype.h>.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 468b7c37a22..fd2dcc5a027 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -50,7 +50,13 @@ Boston, MA 02111-1307, USA. */
50#include "termhooks.h" 50#include "termhooks.h"
51 51
52#ifdef HAVE_X_WINDOWS 52#ifdef HAVE_X_WINDOWS
53
54#ifdef STDC_HEADERS
55#include <stdlib.h>
56#else
53extern void abort (); 57extern void abort ();
58#endif
59#include <ctype.h>
54 60
55/* On some systems, the character-composition stuff is broken in X11R5. */ 61/* On some systems, the character-composition stuff is broken in X11R5. */
56 62