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 29 30 31 32 33 34 35 36 37 38
|
From: Ole Streicher <ole@aip.de>
Date: Fri, 6 Dec 2024 13:57:54 +0100
Subject: Fix include path
Taken from Fedora's xar.spec
---
xar/src/xar.c | 4 ++--
xar/src/xar_internal.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/xar/src/xar.c b/xar/src/xar.c
index 1bceb63..917b612 100644
--- a/xar/src/xar.c
+++ b/xar/src/xar.c
@@ -51,8 +51,8 @@
#include <time.h>
#include "xar_internal.h"
#include "config.h"
-#include "filetree.h"
-#include "util.h"
+#include "../lib/filetree.h"
+#include "../lib/util.h"
#define SYMBOLIC 1
#define NUMERIC 2
static int Perms = 0;
diff --git a/xar/src/xar_internal.h b/xar/src/xar_internal.h
index b78745c..daa4ec2 100644
--- a/xar/src/xar_internal.h
+++ b/xar/src/xar_internal.h
@@ -11,7 +11,7 @@
#ifdef XARSIG_BUILDING_WITH_XAR
#include "xar.h"
#else
-#include <xar/xar.h>
+#include "xar.h"
#endif // XARSIG_BUILDING_WITH_XAR
// Undeprecate these for internal usage
|