diff --git a/LibC/stdlib.cpp b/LibC/stdlib.cpp index e9b70dbf0fe..cabcda573da 100644 --- a/LibC/stdlib.cpp +++ b/LibC/stdlib.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -42,8 +43,7 @@ int atexit(void (*handler)()) void abort() { - // FIXME: Implement proper abort(). - CRASH(); + raise(SIGABRT); } char* getenv(const char* name)