summaryrefslogtreecommitdiff
blob: 81130482a5003dbc52f542d92a6451473763cbef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
In Musl path max is in limits.h and not automatically pulled in

Pascal Jäger <pascal.jaeger@leimstift.de> (2023-10-14)

Bug: https://bugs.gentoo.org/713962
upstream PR: https://github.com/cbxbiker61/cdargs/pull/8

--- a/src/cdargs.cc
+++ b/src/cdargs.cc
@@ -56,6 +56,7 @@ using namespace std;
 # include <unistd.h>
 # include <signal.h>
 # include <string.h>
+# include <limits.h>
 
 //# if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
 # if defined(HAVE_NCURSES_H)