help / color / mirror / Atom feed
* [PATCH] Include stdlib.h as necessary in configure checks
@ 2020-08-06 22:12 Saagar Jha
  0 siblings, 0 replies; only message in thread
From: Saagar Jha @ 2020-08-06 22:12 UTC (permalink / raw)
  To: zsh-workers; +Cc: Saagar Jha

exit(3) needs it, and without it the checks fail on macOS. This causes
zsh to hang because it thinks those things are broken and tries to
employ unnecessary (and in this case incorrect) workarounds.
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 995f010b9..906c174ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2264,6 +2264,7 @@ zsh_cv_sys_killesrch,
 #include <unistd.h>
 #include <signal.h>
+#include <stdlib.h>
 #include <errno.h>
@@ -2289,6 +2290,7 @@ if test x$signals_style = xPOSIX_SIGNALS; then
 #include <signal.h>
+#include <stdlib.h>
 #include <unistd.h>
 int child=0;
 void handler(sig)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-06 23:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06 22:12 [PATCH] Include stdlib.h as necessary in configure checks Saagar Jha


This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ http://inbox.vuxu.org/zsh-workers \
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git