diff --git a/panda/src/display/Sources.pp b/panda/src/display/Sources.pp index c0ce1012bd..c43abc2d9f 100644 --- a/panda/src/display/Sources.pp +++ b/panda/src/display/Sources.pp @@ -107,7 +107,7 @@ // link with it in direct/src/plugin, without pulling in the rest of // Panda. - #define BUILD_TARGET $[and $[OSX_PLATFORM],$[HAVE_P3D_PLUGIN]] + #define BUILD_TARGET $[and $[or $[OSX_PLATFORM],$[UNIX_PLATFORM]],$[HAVE_P3D_PLUGIN]] #define TARGET subprocbuffer diff --git a/panda/src/display/subprocessWindowBuffer.cxx b/panda/src/display/subprocessWindowBuffer.cxx index 96d4b33b77..098d6e3faa 100644 --- a/panda/src/display/subprocessWindowBuffer.cxx +++ b/panda/src/display/subprocessWindowBuffer.cxx @@ -15,6 +15,7 @@ #include "subprocessWindowBuffer.h" #include #include +#include #include using namespace std;