From f9135118ab8d0ff63ec251e1a107fb66cb87ad37 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Thu, 27 Aug 2020 23:29:56 +0200 Subject: [PATCH] Update switcher.cpp to include mac_spawn only if the system is APPLE this fixes a build failure on Linux/Debian systems where mac/* directory is stripped from the source tarball. --- client/switcher.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;