From fbe373dfdc0d78a9b7c83f4ab4fee60b86f66962 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 4 Feb 2018 15:55:52 -0700 Subject: [PATCH] general: Fix includes --- dtool/src/interrogatedb/py_compat.cxx | 1 + dtool/src/interrogatedb/py_panda.h | 1 + panda/src/pgraph/shaderAttrib.cxx | 2 ++ panda/src/physics/physicalNode.cxx | 1 + panda/src/pipeline/pipeline.cxx | 1 - panda/src/pipeline/pipeline.h | 2 ++ panda/src/putil/datagramBuffer.h | 1 + 7 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dtool/src/interrogatedb/py_compat.cxx b/dtool/src/interrogatedb/py_compat.cxx index f7f02607c0..f0dd42cf73 100644 --- a/dtool/src/interrogatedb/py_compat.cxx +++ b/dtool/src/interrogatedb/py_compat.cxx @@ -12,6 +12,7 @@ */ #include "py_compat.h" +#include "py_panda.h" #ifdef HAVE_PYTHON diff --git a/dtool/src/interrogatedb/py_panda.h b/dtool/src/interrogatedb/py_panda.h index 74f13680f8..f4edc8f4ad 100644 --- a/dtool/src/interrogatedb/py_panda.h +++ b/dtool/src/interrogatedb/py_panda.h @@ -22,6 +22,7 @@ #include "pnotify.h" #include "vector_uchar.h" +#include "register_type.h" #if defined(HAVE_PYTHON) && !defined(CPPPARSER) diff --git a/panda/src/pgraph/shaderAttrib.cxx b/panda/src/pgraph/shaderAttrib.cxx index 67bba2d196..711e886828 100644 --- a/panda/src/pgraph/shaderAttrib.cxx +++ b/panda/src/pgraph/shaderAttrib.cxx @@ -25,6 +25,8 @@ #include "datagram.h" #include "datagramIterator.h" #include "nodePath.h" +#include "paramNodePath.h" +#include "paramTexture.h" #include "shaderBuffer.h" TypeHandle ShaderAttrib::_type_handle; diff --git a/panda/src/physics/physicalNode.cxx b/panda/src/physics/physicalNode.cxx index 0fdf995720..daa454aff1 100644 --- a/panda/src/physics/physicalNode.cxx +++ b/panda/src/physics/physicalNode.cxx @@ -12,6 +12,7 @@ */ #include "physicalNode.h" +#include "physicsManager.h" // static stuff. TypeHandle PhysicalNode::_type_handle; diff --git a/panda/src/pipeline/pipeline.cxx b/panda/src/pipeline/pipeline.cxx index 8d8cd2bebb..e6fd1b6cee 100644 --- a/panda/src/pipeline/pipeline.cxx +++ b/panda/src/pipeline/pipeline.cxx @@ -13,7 +13,6 @@ #include "pipeline.h" #include "pipelineCyclerTrueImpl.h" -#include "reMutexHolder.h" #include "configVariableInt.h" #include "config_pipeline.h" diff --git a/panda/src/pipeline/pipeline.h b/panda/src/pipeline/pipeline.h index 3311496ff8..1dbba9429f 100644 --- a/panda/src/pipeline/pipeline.h +++ b/panda/src/pipeline/pipeline.h @@ -18,6 +18,8 @@ #include "pipelineCyclerLinks.h" #include "namable.h" #include "pset.h" +#include "pmutex.h" +#include "mutexHolder.h" #include "reMutex.h" #include "reMutexHolder.h" #include "selectThreadImpl.h" // for THREADED_PIPELINE definition diff --git a/panda/src/putil/datagramBuffer.h b/panda/src/putil/datagramBuffer.h index acb67836f9..8962ddbb2b 100644 --- a/panda/src/putil/datagramBuffer.h +++ b/panda/src/putil/datagramBuffer.h @@ -15,6 +15,7 @@ #define DATAGRAMBUFFER_H #include "pandabase.h" +#include "datagramGenerator.h" #include "datagramSink.h" #include "vector_uchar.h"