diff --git a/panda/src/rocket/rocketRegion_ext.cxx b/panda/src/rocket/rocketRegion_ext.cxx index 4615854768..06791ded82 100644 --- a/panda/src/rocket/rocketRegion_ext.cxx +++ b/panda/src/rocket/rocketRegion_ext.cxx @@ -15,6 +15,8 @@ #include "rocketRegion_ext.h" #include "extension.h" +#ifdef HAVE_PYTHON + #ifndef CPPPARSER #define HAVE_LONG_LONG 1 #include @@ -48,3 +50,5 @@ get_context() const { } return NULL; } + +#endif