Przeglądaj źródła

missing headers

David Rose 21 lat temu
rodzic
commit
326ad4b109
1 zmienionych plików z 12 dodań i 0 usunięć
  1. 12 0
      direct/src/dcparser/dcType.h

+ 12 - 0
direct/src/dcparser/dcType.h

@@ -22,10 +22,22 @@
 #include "dcbase.h"
 #include "dcbase.h"
 #include "dcPackerInterface.h"
 #include "dcPackerInterface.h"
 
 
+#ifdef HAVE_PYTHON
+
+#undef HAVE_LONG_LONG  // NSPR and Python both define this.
+#include <Python.h>
+
+// We only need these headers if we are also building a Python interface.
+#include "datagram.h"
+#include "datagramIterator.h"
+
+#endif  // HAVE_PYTHON
+
 class DCSimpleType;
 class DCSimpleType;
 class DCClassType;
 class DCClassType;
 class DCArrayType;
 class DCArrayType;
 class DCTypedefType;
 class DCTypedefType;
+class HashGenerator;
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //       Class : DCType
 //       Class : DCType