mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-30 13:26:10 +08:00
widl: Fix building on FreebSD
Since 6d67748154df21da9e343feb9d58e28c1ba0a63b in wine
(wine-6.20-29-g6d67748154d, Oct 25, 2021), imported to mingw-w64
in 826215b4e0
, widl requires sys/sysctl.h
on FreeBSD.
Wine does have a configure check for this header, but the mingw-w64-tools
wrapping didn't. Add a check for this header, so that the existing
"#ifdef HAVE_SYS_SYSCTL_H" in widl.c has a chance of succeeding.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
8526cb6182
commit
802f598a50
@ -46,7 +46,7 @@ AS_CASE([$host],
|
||||
# Checks for libraries.
|
||||
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADERS([getopt.h io.h fcntl.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h sys/time.h unistd.h])
|
||||
AC_CHECK_HEADERS([getopt.h io.h fcntl.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h sys/sysctl.h sys/time.h unistd.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_HEADER_STDBOOL
|
||||
|
Loading…
Reference in New Issue
Block a user