1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00

Fix compilation failure under ENABLE_CHECKING.

src/alloc.c [ENABLE_CHECKING]: Include signal.h, since we need SIGABRT.

Fixes: debbugs:12327
This commit is contained in:
Eli Zaretskii 2012-09-07 10:24:08 +03:00
parent b4fa72f279
commit bc8000ff70
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-09-07 Eli Zaretskii <eliz@gnu.org>
* alloc.c [ENABLE_CHECKING]: Include signal.h, since we need SIGABRT.
2012-09-07 Dmitry Antipov <dmantipov@yandex.ru>
* alloc.c (mark_buffer): Revert unsafe marking optimization.

View File

@ -26,6 +26,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <limits.h> /* For CHAR_BIT. */
#include <setjmp.h>
#ifdef ENABLE_CHECKING
#include <signal.h> /* For SIGABRT. */
#endif
#ifdef HAVE_PTHREAD
#include <pthread.h>
#endif