Fix alternate stack test in configure
* configure.ac (emacs_cv_alternate_stack): Include <stdlib.h> for 'malloc's prototype.
This commit is contained in:
parent
84888080ee
commit
121a9ff9f6
1 changed files with 1 additions and 0 deletions
|
@ -5248,6 +5248,7 @@ AC_CACHE_CHECK([whether signals can be handled on alternate stack],
|
||||||
[emacs_cv_alternate_stack],
|
[emacs_cv_alternate_stack],
|
||||||
[AC_COMPILE_IFELSE(
|
[AC_COMPILE_IFELSE(
|
||||||
[AC_LANG_PROGRAM([[#include <signal.h>
|
[AC_LANG_PROGRAM([[#include <signal.h>
|
||||||
|
#include <stdlib.h>
|
||||||
]],
|
]],
|
||||||
[[stack_t ss;
|
[[stack_t ss;
|
||||||
struct sigaction sa;
|
struct sigaction sa;
|
||||||
|
|
Loading…
Add table
Reference in a new issue