From: openKylin Developers <packaging@lists.openkylin.top>
Date: Wed, 8 May 2024 10:12:11 +0800
Subject: posixness_fix

===================================================================
---
 src/util.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util.c b/src/util.c
index 9c1455c..01bcb91 100644
--- a/src/util.c
+++ b/src/util.c
@@ -48,6 +48,10 @@
 
 #include "util.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 /* safe malloc */
 void *xmalloc (size_t size)
 {
