blob: 89d65c23b71fcc48aa1e2f542d33bcddbb80bbbb [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001# From glibc 2.36, <linux/mount.h> (included from <linux/fs.h>) and
2# <sys/mount.h> (included from glibc) are no longer compatible:
3# https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
4
5Upstream-Status: Pending
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8--- sysvinit-3.04/src/sulogin.c.orig 2022-08-07 23:07:42.952576274 +0200
9+++ sysvinit-3.04/src/sulogin.c 2022-08-07 23:08:26.511470983 +0200
10@@ -51,7 +51,6 @@
11 #ifdef __linux__
12 # include <sys/statfs.h>
13 # include <sys/mount.h>
14-# include <linux/fs.h>
15 # include <linux/magic.h>
16 # include <linux/major.h>
17 # ifndef TMPFS_MAGIC