Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | From 8591c1e3edaea8f17396e3d2819d9064b2818cfb Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 6 Aug 2022 20:39:01 -0700 |
| 4 | Subject: [PATCH] Do not include linux/fs.h |
| 5 | |
| 6 | This header is not needed to be included anymore, moreover it conflicts |
| 7 | with sys/mount.h from glibc 2.36+ see [1] |
| 8 | |
| 9 | [1] https://sourceware.org/glibc/wiki/Release/2.36 |
| 10 | |
| 11 | Upstream-Status: Submitted [https://github.com/xrmx/bootchart/pull/99] |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- |
| 14 | collector/collector.c | 1 - |
| 15 | 1 file changed, 1 deletion(-) |
| 16 | |
| 17 | diff --git a/collector/collector.c b/collector/collector.c |
| 18 | index 5055181..12738ff 100644 |
| 19 | --- a/collector/collector.c |
| 20 | +++ b/collector/collector.c |
| 21 | @@ -34,7 +34,6 @@ |
| 22 | |
| 23 | #include <sys/mount.h> |
| 24 | #include <sys/sysmacros.h> |
| 25 | -#include <linux/fs.h> |
| 26 | #include <linux/genetlink.h> |
| 27 | #include <linux/taskstats.h> |
| 28 | #include <linux/cgroupstats.h> |
| 29 | -- |
| 30 | 2.37.1 |
| 31 | |