]> git.eshelyaron.com Git - emacs.git/commitdiff
Include <stdlib.h> if available, and declare abort only if not. Include
authorAndreas Schwab <schwab@suse.de>
Mon, 30 Aug 1999 16:10:03 +0000 (16:10 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 30 Aug 1999 16:10:03 +0000 (16:10 +0000)
<ctype.h>.

src/xfns.c

index 468b7c37a22586985ce7783d7b63dab58ee9db87..fd2dcc5a027b535326ddc26ad49d8d6c5ab916ca 100644 (file)
@@ -50,7 +50,13 @@ Boston, MA 02111-1307, USA.  */
 #include "termhooks.h"
 
 #ifdef HAVE_X_WINDOWS
+
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#else
 extern void abort ();
+#endif
+#include <ctype.h>
 
 /* On some systems, the character-composition stuff is broken in X11R5.  */