blob: 52b2e61bc14f1294e94bbd4e3dc06c642fce82d1 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From 627e5227783ff2a0c3b11adee57ef7f0684a367e Mon Sep 17 00:00:00 2001
2From: Colin Ian King <colin.i.king@gmail.com>
3Date: Mon, 1 Aug 2022 21:39:39 +0100
4Subject: [PATCH 1/2] core-helper: remove include of sys/mount.h
5
6This is not required in the shim core and it fixes a build issue
7with newer glibc 2.36
8
9Fixes: https://github.com/ColinIanKing/stress-ng/issues/216
10
11Upstream-Status: Backport [https://github.com/ColinIanKing/stress-ng/commit/69f4f4d629c5f4304b5388b6a7fa8616de23f50e]
12Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
13---
14 core-helper.c | 4 ----
15 1 file changed, 4 deletions(-)
16
17diff --git a/core-helper.c b/core-helper.c
18index 6795410d..9e4533f2 100644
19--- a/core-helper.c
20+++ b/core-helper.c
21@@ -39,10 +39,6 @@
22 #include <sys/loadavg.h>
23 #endif
24
25-#if defined(HAVE_SYS_MOUNT_H)
26-#include <sys/mount.h>
27-#endif
28-
29 #if defined(HAVE_SYS_PRCTL_H)
30 #include <sys/prctl.h>
31 #endif
32--
332.37.1
34