diff --git a/libraries/libmesosphere/source/libc/kern_cxx.cpp b/libraries/libmesosphere/source/libc/kern_cxx.cpp
index 9262db6f8..c73033cd1 100644
--- a/libraries/libmesosphere/source/libc/kern_cxx.cpp
+++ b/libraries/libmesosphere/source/libc/kern_cxx.cpp
@@ -13,13 +13,14 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+#include
#ifdef __cplusplus
extern "C" {
#endif
/* cxx implementation details to be stubbed here, as needed. */
+void __cxa_pure_virtual() { MESOSPHERE_PANIC("pure virtual function call"); }
#ifdef __cplusplus
} /* extern "C" */