mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
On systems without glibc, you might lack definition of PATH_MAX. This patch adds the limits.h header to solve this issue. PS: I will send this patch upstream latter
11 lines
219 B
Diff
11 lines
219 B
Diff
--- a/src/astyle_main.cpp
|
|
+++ b/src/astyle_main.cpp
|
|
@@ -41,6 +41,7 @@
|
|
#include <cstdlib>
|
|
#include <fstream>
|
|
#include <sstream>
|
|
+#include <limits.h>
|
|
|
|
// includes for recursive getFileNames() function
|
|
#ifdef _WIN32
|