aports/community/astyle/fix-ppc64le-build.patch
Roberto Oliveira 2d13526e29 community/astyle: fix ppc64le build
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
2018-01-16 01:57:23 +00:00

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