mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-10 01:54:18 +02:00
29 lines
718 B
Diff
29 lines
718 B
Diff
From abeea53fd7b214a6cb72e4a42ae2646e1db8fd06 Mon Sep 17 00:00:00 2001
|
|
From: Natanael Copa <ncopa@alpinelinux.org>
|
|
Date: Fri, 8 Mar 2024 12:40:06 +0100
|
|
Subject: [PATCH] Fix build with musl libc on ppc64le
|
|
|
|
PATH_MAX is defined in limits.h in POSIX.
|
|
|
|
Fixes https://github.com/openSUSE/libeconf/issues/197
|
|
|
|
ref: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
|
|
---
|
|
lib/libeconf.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/lib/libeconf.c b/lib/libeconf.c
|
|
index c68a290..8459724 100644
|
|
--- a/lib/libeconf.c
|
|
+++ b/lib/libeconf.c
|
|
@@ -31,6 +31,7 @@
|
|
#include "readconfig.h"
|
|
|
|
#include <libgen.h>
|
|
+#include <limits.h>
|
|
#include <dirent.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
--
|
|
2.44.0
|
|
|