From: Oliver Kurth Date: Tue, 12 Nov 2019 02:12:24 +0000 (-0800) Subject: Common source file change not applicable to open-vm-tools. X-Git-Tag: stable-11.1.0~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6b78b6839bbf1e3aaa5d959404b7fd07f6e1143;p=thirdparty%2Fopen-vm-tools.git Common source file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/file/filePosix.c b/open-vm-tools/lib/file/filePosix.c index 63e9a85d6..d6b7f7704 100644 --- a/open-vm-tools/lib/file/filePosix.c +++ b/open-vm-tools/lib/file/filePosix.c @@ -52,6 +52,9 @@ #if defined(__linux__) # include #endif +#if defined(__APPLE__) +#include +#endif #include "vmware.h" #include "posix.h" @@ -1046,7 +1049,7 @@ File_GetParent(char **canPath) // IN/OUT: Canonical file path } -#if !defined(__APPLE__) +#if !defined(__APPLE__) || TARGET_OS_IPHONE /* *---------------------------------------------------------------------- *