diff --git a/client/switcher.cpp b/client/switcher.cpp index 81d63f925e..c2aa762bf8 100644 --- a/client/switcher.cpp +++ b/client/switcher.cpp @@ -34,7 +34,9 @@ #include "app_ipc.h" #include "filesys.h" #include "str_replace.h" +#ifdef __APPLE__ #include "mac_spawn.h" +#endif using std::strcpy;