Browse Source

general: Fix missing includes (and one forward declaration)

Sam Edwards 6 years ago
parent
commit
abc941245e

+ 3 - 0
contrib/src/ai/aiBehaviors.h

@@ -28,6 +28,9 @@ class PathFollow;
 class PathFind;
 class ObstacleAvoidance;
 
+#include "flee.h"
+#include "evade.h"
+
 typedef std::list<Flee, std::allocator<Flee> > ListFlee;
 typedef std::list<Evade, std::allocator<Evade> > ListEvade;
 

+ 1 - 0
panda/src/collide/collisionInvSphere.cxx

@@ -16,6 +16,7 @@
 #include "collisionSphere.h"
 #include "collisionCapsule.h"
 #include "collisionLine.h"
+#include "collisionParabola.h"
 #include "collisionRay.h"
 #include "collisionSegment.h"
 #include "collisionHandler.h"

+ 2 - 0
panda/src/device/ioKitInputDevice.cxx

@@ -15,8 +15,10 @@
 
 #if defined(__APPLE__) && !defined(CPPPARSER)
 
+#include <IOKit/hid/IOHIDLib.h>
 #include <IOKit/hid/IOHIDElement.h>
 
+#include "inputDeviceManager.h"
 #include "keyboardButton.h"
 #include "gamepadButton.h"
 #include "mouseButton.h"

+ 1 - 0
panda/src/pgraph/pythonLoaderFileType.cxx

@@ -15,6 +15,7 @@
 
 #ifdef HAVE_PYTHON
 
+#include "bamCacheRecord.h"
 #include "modelRoot.h"
 #include "pythonThread.h"
 #include "py_panda.h"

+ 2 - 0
panda/src/pgraph/pythonLoaderFileType.h

@@ -21,6 +21,8 @@
 #include "loaderFileType.h"
 #include "extension.h"
 
+class LoaderFileTypeRegistry;
+
 /**
  * This defines a Python-based loader plug-in.  An instance of this can be
  * constructed by inheritance and explicitly registered, or it can be created

+ 1 - 0
panda/src/text/textProperties.cxx

@@ -21,6 +21,7 @@
 #include "colorAttrib.h"
 #include "cullBinAttrib.h"
 #include "transparencyAttrib.h"
+#include "zStream.h"
 
 PT(TextFont) TextProperties::_default_font;
 bool TextProperties::_loaded_default_font = false;

+ 1 - 0
pandatool/src/egg-qtess/qtessInputFile.h

@@ -18,6 +18,7 @@
 #include "qtessInputEntry.h"
 #include "filename.h"
 #include "pvector.h"
+#include "vector_double.h"
 
 class QtessSurface;