collected: Fix build with glibc 2.36

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-08-15 17:17:49 +00:00
committed by Peter Müller
parent 692416302c
commit 9060a9c907
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- collectd-4.10.9/src/utils_mount.c~ 2022-08-10 13:45:39.424289940 +0000
+++ collectd-4.10.9/src/utils_mount.c 2022-08-10 13:45:58.224239495 +0000
@@ -31,6 +31,7 @@
#include "plugin.h"
#include "utils_mount.h"
+#undef HAVE_XFS_XQM_H
#if HAVE_XFS_XQM_H
# include <xfs/xqm.h>
#define XFS_SUPER_MAGIC_STR "XFSB"