diff --git a/libmesosphere/source/libc/kern_cxx.cpp b/libmesosphere/source/libc/kern_cxx.cpp index 9262db6f..c73033cd 100644 --- a/libmesosphere/source/libc/kern_cxx.cpp +++ b/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" */