From 39c1cb42c9d63337e0804dec66fe28218abb0ddb Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 13 Jul 2009 08:18:49 +0000 Subject: [PATCH] Fix build issues on Linux --- panda/src/display/Sources.pp | 2 +- panda/src/display/subprocessWindowBuffer.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;