Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | # 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 | |
| 5 | Upstream-Status: Pending |
| 6 | Signed-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 |