summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/configure
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-02 22:57:47 +0000
committerKarl Berry <karl@freefriends.org>2023-02-02 22:57:47 +0000
commitf3e4ed6d0aee2385f292b0203ff4037de0e2b58c (patch)
treefc7e3d12faea47e5bf70017696e28d861f810c19 /Build/source/texk/xdvik/configure
parent7f5e6c04b40bd9dc2e547bc0257bb077703e6769 (diff)
avoid implicit wait and exit declarations for C99
git-svn-id: svn://tug.org/texlive/trunk@65717 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/configure')
-rwxr-xr-xBuild/source/texk/xdvik/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/xdvik/configure b/Build/source/texk/xdvik/configure
index 53810a3b391..9e4a483f8fd 100755
--- a/Build/source/texk/xdvik/configure
+++ b/Build/source/texk/xdvik/configure
@@ -16406,6 +16406,9 @@ else $as_nop
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
#ifdef HAVE_VFORK_H
#include <vfork.h>
#endif
@@ -16427,7 +16430,7 @@ main (void)
while (wait(&status) != child)
;
- exit(
+ _exit(
/* Was there some problem with vforking? */
child < 0