diff options
| author | Florian Weimer | 2022-12-23 18:51:08 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-24 10:03:23 +0200 |
| commit | 121a9ff9f6fc69066ce30c2dbe6cbfbfdca6aeaa (patch) | |
| tree | 0e08293cf359ce4bb701d7fa9a5aeba74546496d | |
| parent | 84888080eea51a150a87075ff1612209b46eda45 (diff) | |
| download | emacs-121a9ff9f6fc69066ce30c2dbe6cbfbfdca6aeaa.tar.gz emacs-121a9ff9f6fc69066ce30c2dbe6cbfbfdca6aeaa.zip | |
Fix alternate stack test in configure
* configure.ac (emacs_cv_alternate_stack): Include <stdlib.h>
for 'malloc's prototype.
| -rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ac29f351fb3..df19508d3d3 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -5248,6 +5248,7 @@ AC_CACHE_CHECK([whether signals can be handled on alternate stack], | |||
| 5248 | [emacs_cv_alternate_stack], | 5248 | [emacs_cv_alternate_stack], |
| 5249 | [AC_COMPILE_IFELSE( | 5249 | [AC_COMPILE_IFELSE( |
| 5250 | [AC_LANG_PROGRAM([[#include <signal.h> | 5250 | [AC_LANG_PROGRAM([[#include <signal.h> |
| 5251 | #include <stdlib.h> | ||
| 5251 | ]], | 5252 | ]], |
| 5252 | [[stack_t ss; | 5253 | [[stack_t ss; |
| 5253 | struct sigaction sa; | 5254 | struct sigaction sa; |