diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-05 15:43:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-05 15:43:53 +0000 |
commit | f88210c2bb254c3dd8943d8d08b57085b3da8896 (patch) | |
tree | 48d5885c67866e929512e2c0f7fde9d0ff63ed36 /Build/source/texk/kpathsea/configure.ac | |
parent | e37e57a3a70bde291c2443fa95fe84e3b3aeb98d (diff) |
stdlib.h to placate clang16
git-svn-id: svn://tug.org/texlive/trunk@64941 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/configure.ac')
-rw-r--r-- | Build/source/texk/kpathsea/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/configure.ac b/Build/source/texk/kpathsea/configure.ac index 0851e82f011..5dde0e6bdcd 100644 --- a/Build/source/texk/kpathsea/configure.ac +++ b/Build/source/texk/kpathsea/configure.ac @@ -45,7 +45,8 @@ if test "x$ac_cv_func_getcwd" = xyes; then # We only need to run this if we have getcwd. AC_CACHE_CHECK([whether getcwd uses fork or vfork], [kb_cv_func_getcwd_forks], - [AC_RUN_IFELSE([AC_LANG_PROGRAM([[int fork() { exit(1); } + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h> + int fork() { exit(1); } int vfork() { exit(1); } extern char *getcwd(); char path[100];]], |