diff --git a/hal/src/main/native/cpp/jni/HAL.cpp b/hal/src/main/native/cpp/jni/HAL.cpp index 9918f46d6ec..99e4675ea9c 100644 --- a/hal/src/main/native/cpp/jni/HAL.cpp +++ b/hal/src/main/native/cpp/jni/HAL.cpp @@ -6,8 +6,11 @@ #include +#ifdef __FRC_ROBORIO__ +#include +#endif + #include -#include #include #include @@ -93,7 +96,7 @@ Java_edu_wpi_first_hal_HAL_terminate (JNIEnv*, jclass) { #ifdef __FRC_ROBORIO__ - std::abort(); + ::raise(SIGILL); #endif }