]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common source file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Tue, 12 Nov 2019 02:12:24 +0000 (18:12 -0800)
committerOliver Kurth <okurth@vmware.com>
Tue, 12 Nov 2019 02:12:24 +0000 (18:12 -0800)
open-vm-tools/lib/file/filePosix.c

index 63e9a85d65a86c078ea31fadbb23724c266fc720..d6b7f770461144775267071171d4f7f824ce0db8 100644 (file)
@@ -52,6 +52,9 @@
 #if defined(__linux__)
 #   include <pwd.h>
 #endif
+#if defined(__APPLE__)
+#include <TargetConditionals.h>
+#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
 /*
  *----------------------------------------------------------------------
  *