From: openKylin Developers <packaging@lists.openkylin.top>
Date: Tue, 2 Jun 2026 20:38:04 +0800
Subject: posixness_fix

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

diff --git a/src/util.c b/src/util.c
index a977137..088bbf8 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)
 {
