summarylogtreecommitdiffstats
path: root/ply-utils.c.patch
blob: 77aeadf31ba43e44cfbfb47737e404663b4cf727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@@ -0,0 +1,30 @@
From 5f1e43c00039a7fe1fff768b91a05a695fb4a53d Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Wed, 3 Aug 2022 15:23:33 -0400
Subject: [PATCH] ply-utils: Drop linux/fs.h include

It was needed long ago for a function we no longer even have.

Now it's causing compile errors on Fedora 37 because it's conflicting
with sys/mount.h.

This commit drops it.
---
 src/libply/ply-utils.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libply/ply-utils.c b/src/libply/ply-utils.c
index c7b165e9..219e2e77 100644
--- a/src/libply/ply-utils.c
+++ b/src/libply/ply-utils.c
@@ -46,7 +46,6 @@
 #include <sys/user.h>
 #include <sys/wait.h>
 #include <time.h>
-#include <linux/fs.h>
 #include <linux/vt.h>
 
 #include <dlfcn.h>