1 diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
2 index 99bec9b..95c78ec 100644
3 --- a/src/util/sys_defs.h
4 +++ b/src/util/sys_defs.h
5 @@ -802,6 +803,9 @@ extern int initgroups(const char *, int);
6 #define _PATH_PROCNET_IFINET6 "/proc/net/if_inet6"
9 +#if HAVE_GLIBC_API_VERSION_SUPPORT(2, 34)
10 +#define HAS_CLOSEFROM
12 #include <linux/version.h>
13 #if !defined(KERNEL_VERSION)
14 #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1)