From 4ae7d7ce3f59f078499b7dc20b2e09641a05499a Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 26 Apr 2022 02:00:34 -0500 Subject: [PATCH] from higuy: "PATH_MAX is defined there on macos" --- Engine/source/platformPOSIX/POSIXFileio.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Engine/source/platformPOSIX/POSIXFileio.cpp b/Engine/source/platformPOSIX/POSIXFileio.cpp index c21e427ba..c9bfdd49c 100644 --- a/Engine/source/platformPOSIX/POSIXFileio.cpp +++ b/Engine/source/platformPOSIX/POSIXFileio.cpp @@ -46,6 +46,9 @@ #if defined(__FreeBSD__) #include #endif +#if defined(__APPLE__) +#include +#endif #include /* these are for reading directors, getting stats, etc. */