diff --git a/configure.ac b/configure.ac index ac3b5fc7..45aab65a 100644 --- a/configure.ac +++ b/configure.ac @@ -97,9 +97,11 @@ AC_SUBST(LIBTOOL_DEPS) AC_PROG_INSTALL -dnl GNU libtool checks them by default/unconditionally, but slibtool does not. -dnl So accept the ugly double check and -DHAVE_*_H arguments with GNU libtool. -AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h) +dnl GNU libtool checks stdint.h inttypes.h stdlib.h by default/unconditionally, +dnl but slibtool does not. So accept the ugly double check and -DHAVE_*_H +dnl arguments with GNU libtool. +dnl select.h seems to be ubiquitous, but was not used in libisoburn before 2025 +AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h sys/select.h) dnl Check for tm_gmtoff field in struct tm AC_CHECK_MEMBER([struct tm.tm_gmtoff], diff --git a/xorriso/configure_ac.txt b/xorriso/configure_ac.txt index 02ed8648..12267dab 100644 --- a/xorriso/configure_ac.txt +++ b/xorriso/configure_ac.txt @@ -84,9 +84,10 @@ dnl LIBTOOL="$LIBTOOL --silent" AC_PROG_INSTALL -dnl GNU libtool checks them by default/unconditionally, but slibtool does not. -dnl So accept the ugly double check and -DHAVE_*_H arguments with GNU libtool. -AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h) +dnl GNU libtool checks stdint.h inttypes.h stdlib.h by default/unconditionally, dnl but slibtool does not. So accept the ugly double check and -DHAVE_*_H +dnl arguments with GNU libtool. +dnl select.h seems to be ubiquitous, but was not used in libisoburn before 2025 +AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h sys/select.h) AC_CHECK_MEMBER([struct tm.tm_gmtoff], [AC_DEFINE(HAVE_TM_GMTOFF, 1, diff --git a/xorriso/misc_funct.c b/xorriso/misc_funct.c index 075858b7..96ce53c6 100644 --- a/xorriso/misc_funct.c +++ b/xorriso/misc_funct.c @@ -1,7 +1,7 @@ /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. - Copyright 2007-2024 Thomas Schmitt, + Copyright 2007-2025 Thomas Schmitt, Provided under GPL version 2 or later. @@ -23,6 +23,9 @@ #include #include +#ifdef HAVE_SYS_SELECT_H +#include +#endif #include "sfile.h" #include "misc_funct.h" diff --git a/xorriso/parse_exec.c b/xorriso/parse_exec.c index 78e3f97e..bb6fccfb 100644 --- a/xorriso/parse_exec.c +++ b/xorriso/parse_exec.c @@ -1,7 +1,7 @@ /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. - Copyright 2007-2024 Thomas Schmitt, + Copyright 2007-2025 Thomas Schmitt, Provided under GPL version 2 or later. @@ -3079,7 +3079,7 @@ int Xorriso_execv(struct XorrisO *xorriso, char *cmd, Xorriso_alloc_meM(prog, char, 5 * SfileadrL); - wait3(NULL,WNOHANG,NULL); /* just to remove any old dead child */ + waitpid(-1, NULL, WNOHANG); /* just to remove any old dead child */ if(flag & 2) { ret= Xorriso_make_argv_with_null(xorriso, in_argc, in_argv, diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 6fc62d79..8b238c8c 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2025.04.07.074817" +#define Xorriso_timestamP "2025.04.08.211135"