From bc8000ff702f2161253c1f5b54313e32619a2a44 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 7 Sep 2012 10:24:08 +0300 Subject: [PATCH] Fix compilation failure under ENABLE_CHECKING. src/alloc.c [ENABLE_CHECKING]: Include signal.h, since we need SIGABRT. Fixes: debbugs:12327 --- src/ChangeLog | 4 ++++ src/alloc.c | 4 ++++ 2 files changed, 8 insertions(+) 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 -- 2.39.2