Including sys/select.h where needed. Changed wait3() to waitpid() for better portability. Thanks Jonas Sortie Termansen.

This commit is contained in:
2025-04-08 23:12:15 +02:00
parent 0b4c879509
commit 23ce0176b8
5 changed files with 16 additions and 10 deletions

View File

@ -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],