2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 04:22:15 +00:00

fixes include of gnu/libc-version.h

closes #386
This commit is contained in:
Klemens Morgenstern
2024-07-19 09:17:06 +08:00
parent 8b3e90234b
commit 67a2f97633

View File

@@ -47,7 +47,7 @@ int fdwalk(int (*func)(void *, int), void *cd);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,11,0) // kernel has close_range
#include <gnu/libc-version.h>
// version is included by stdlib.h #include <gnu/libc-version.h>
#if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 34) // glibc is compiled with close_range support
// https://man7.org/linux/man-pages/man2/close_range.2.html