diff --git a/panda/src/rocket/rocketRegion.cxx b/panda/src/rocket/rocketRegion.cxx index ee2c2c2e3d..febefb091e 100644 --- a/panda/src/rocket/rocketRegion.cxx +++ b/panda/src/rocket/rocketRegion.cxx @@ -17,7 +17,7 @@ #include "orthographicLens.h" #include "pStatTimer.h" -#ifdef HAVE_ROCKET_DEBUGGER +#if defined(HAVE_ROCKET_DEBUGGER) && !defined(CPPPARSER) #include #endif