projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8488808
)
Fix alternate stack test in configure
author
Florian Weimer
<fweimer@redhat.com>
Fri, 23 Dec 2022 17:51:08 +0000
(18:51 +0100)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 24 Dec 2022 08:03:23 +0000
(10:03 +0200)
* configure.ac (emacs_cv_alternate_stack): Include <stdlib.h>
for 'malloc's prototype.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index ac29f351fb33750ae58ee4ab319130f38c2089db..df19508d3d305f91dd7924035c1c8289869e584f 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-5248,6
+5248,7
@@
AC_CACHE_CHECK([whether signals can be handled on alternate stack],
[emacs_cv_alternate_stack],
[AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <signal.h>
+ #include <stdlib.h>
]],
[[stack_t ss;
struct sigaction sa;