From: Eli Zaretskii Date: Fri, 7 Sep 2012 07:24:08 +0000 (+0300) Subject: Fix compilation failure under ENABLE_CHECKING. X-Git-Tag: emacs-24.2.90~384 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc8000ff702f2161253c1f5b54313e32619a2a44;p=emacs.git Fix compilation failure under ENABLE_CHECKING. src/alloc.c [ENABLE_CHECKING]: Include signal.h, since we need SIGABRT. Fixes: debbugs:12327 --- diff --git a/src/ChangeLog b/src/ChangeLog index 5c9d350d7bb..1ff58232538 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-09-07 Eli Zaretskii + + * alloc.c [ENABLE_CHECKING]: Include signal.h, since we need SIGABRT. + 2012-09-07 Dmitry Antipov * alloc.c (mark_buffer): Revert unsafe marking optimization. diff --git a/src/alloc.c b/src/alloc.c index aaf2f0846dc..33dc68df48e 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -26,6 +26,10 @@ along with GNU Emacs. If not, see . */ #include /* For CHAR_BIT. */ #include +#ifdef ENABLE_CHECKING +#include /* For SIGABRT. */ +#endif + #ifdef HAVE_PTHREAD #include #endif