diff --git a/pcsx2/PINE.cpp b/pcsx2/PINE.cpp index 49433b0647..d448bbd007 100644 --- a/pcsx2/PINE.cpp +++ b/pcsx2/PINE.cpp @@ -15,6 +15,8 @@ #include "PrecompiledHeader.h" +#ifndef PCSX2_CORE + #include #include #include @@ -521,3 +523,5 @@ PINEServer::IPCBuffer PINEServer::ParseCommand(char* buf, char* ret_buffer, u32 } return IPCBuffer{(int)ret_cnt, MakeOkIPC(ret_buffer, ret_cnt)}; } + +#endif \ No newline at end of file diff --git a/pcsx2/PINE.h b/pcsx2/PINE.h index 915c41b1d4..18e9596e81 100644 --- a/pcsx2/PINE.h +++ b/pcsx2/PINE.h @@ -18,6 +18,8 @@ #pragma once +#ifndef PCSX2_CORE + // PINE uses a concept of "slot" to be able to communicate with multiple // emulators at the same time, each slot should be unique to each emulator to // allow PnP and configurable by the end user so that several runs don't @@ -222,3 +224,5 @@ public: virtual ~PINEServer(); }; // class SocketIPC + +#endif