blob: ed84d92c7c9eb6fb5220f451e3833d6afca1f818 [file] [log] [blame]
Andrew Geissler78b72792022-06-14 06:47:25 -05001From 81b4fbb5f52044cb348534c23f10b3884972b09b Mon Sep 17 00:00:00 2001
2From: Beat Schaer <beat.schaer@wabtec.com>
3Date: Fri, 19 Mar 2021 08:18:58 +0100
4Subject: [PATCH] Fixed includes so that it compiles on Ubuntu 20.04
5
6---
Patrick Williams520786c2023-06-25 16:20:36 -05007Upstream-Status: Pending
8
Andrew Geissler78b72792022-06-14 06:47:25 -05009 logic.c | 3 +--
10 main.c | 3 ++-
11 2 files changed, 3 insertions(+), 3 deletions(-)
12
13diff --git a/logic.c b/logic.c
14index 97767f5..47ebfaa 100644
15--- a/logic.c
16+++ b/logic.c
17@@ -7,8 +7,7 @@
18 #include <string.h>
19 #include <errno.h>
20 #include <unistd.h>
21-#include <attr/xattr.h>
22-#include <attr/attributes.h>
23+#include <sys/xattr.h>
24 #include <fts.h>
25 #include <libgen.h>
26 #include "logic.h"
27diff --git a/main.c b/main.c
28index aa11239..f462b98 100644
29--- a/main.c
30+++ b/main.c
31@@ -12,7 +12,8 @@
32 #include <linux/limits.h>
33 #include <stdbool.h>
34 #include <sys/stat.h>
35-#include <attr/xattr.h>
36+#include <sys/xattr.h>
37+#include <errno.h>
38 #ifndef _SYS_STAT_H
39 #include <linux/stat.h>
40 #endif
41--
422.25.1
43