1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Use close_range when available

This fixes the FreeBSD build of nix-util
This commit is contained in:
Robert Hensing 2024-09-18 22:42:44 +02:00
parent 59acf3b75c
commit 5c87c40a5e
3 changed files with 6 additions and 2 deletions

View file

@ -28,6 +28,7 @@ subdir('build-utils-meson/subprojects')
# HAVE_LUTIMES 1`. The `#define` is unconditional, 0 for not found and 1
# for found. One therefore uses it with `#if` not `#ifdef`.
check_funcs = [
'close_range',
# Optionally used for changing the mtime of symlinks.
'lutimes',
# Optionally used for creating pipes on Unix