aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorEli Zaretskii2012-09-07 10:24:08 +0300
committerEli Zaretskii2012-09-07 10:24:08 +0300
commitbc8000ff702f2161253c1f5b54313e32619a2a44 (patch)
tree5d479fd943ff89ac242dff78c22cd41694ec4d81 /src/alloc.c
parentb4fa72f2796476e089a57545e0d6dce912b504d3 (diff)
downloademacs-bc8000ff702f2161253c1f5b54313e32619a2a44.tar.gz
emacs-bc8000ff702f2161253c1f5b54313e32619a2a44.zip
Fix compilation failure under ENABLE_CHECKING.
src/alloc.c [ENABLE_CHECKING]: Include signal.h, since we need SIGABRT. Fixes: debbugs:12327
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */
26#include <limits.h> /* For CHAR_BIT. */ 26#include <limits.h> /* For CHAR_BIT. */
27#include <setjmp.h> 27#include <setjmp.h>
28 28
29#ifdef ENABLE_CHECKING
30#include <signal.h> /* For SIGABRT. */
31#endif
32
29#ifdef HAVE_PTHREAD 33#ifdef HAVE_PTHREAD
30#include <pthread.h> 34#include <pthread.h>
31#endif 35#endif