From: Kruti Pendharkar Date: Tue, 3 Jun 2025 06:30:25 +0000 (-0700) Subject: Change to common header files not applicable to open-vm-tools. X-Git-Tag: stable-13.1.0~173 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51b54e5989a3833b2f07ef30817da09034f0a591;p=thirdparty%2Fopen-vm-tools.git Change to common header files not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/fileIO.h b/open-vm-tools/lib/include/fileIO.h index fd867393e..b873bd94e 100644 --- a/open-vm-tools/lib/include/fileIO.h +++ b/open-vm-tools/lib/include/fileIO.h @@ -44,8 +44,10 @@ #include #if !defined(_WIN32) #include +#if !defined(FROBOS) #include #endif +#endif #include "vm_basic_types.h" #include "unicodeTypes.h" diff --git a/open-vm-tools/lib/include/iovector.h b/open-vm-tools/lib/include/iovector.h index 170017edd..53d9f95e6 100644 --- a/open-vm-tools/lib/include/iovector.h +++ b/open-vm-tools/lib/include/iovector.h @@ -36,8 +36,8 @@ extern "C" { /* * Ugly definition of struct iovec. */ -#if defined(__linux__) || defined(sun) || defined(__APPLE__) || \ - defined(__FreeBSD__) || defined(__EMSCRIPTEN__) +#if (defined(__linux__) || defined(sun) || defined(__APPLE__) || \ + defined(__FreeBSD__) || defined(__EMSCRIPTEN__)) && !defined(FROBOS) #include // for struct iovec #else