postfix/postfix-3.5.9-glibc-234-build-fix.patch
Jaroslav Škarvada 0f16c009cf Fixed build on RHEL-9
Related: rhbz#1984045

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-08-05 11:41:18 +02:00

13 lines
404 B
Diff

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