mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
https://theforceengine.github.io/ "Modern rebuild of the Jedi Engine (needs purchased copy of game data files to run)
13 lines
400 B
Diff
13 lines
400 B
Diff
Fix compilation on ppc64le, where PATH_MAX is provided only if linux/limits.h
|
|
is included directly.
|
|
|
|
--- a/TheForceEngine/TFE_FileSystem/fileutil-posix.cpp
|
|
+++ b/TheForceEngine/TFE_FileSystem/fileutil-posix.cpp
|
|
@@ -8,6 +8,7 @@
|
|
#include <strings.h>
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
+#include <linux/limits.h>
|
|
#include <TFE_System/system.h>
|
|
#include "fileutil.h"
|
|
#include "filestream.h"
|