Index: uspace/lib/cpp/include/impl/exception.hpp
===================================================================
--- uspace/lib/cpp/include/impl/exception.hpp	(revision 7d0f2eb00447d074f8e45520646afaee44512f87)
+++ uspace/lib/cpp/include/impl/exception.hpp	(revision 9396c525855832d2f7468890aa9093c4872302a7)
@@ -32,15 +32,15 @@
 namespace std
 {
+    [[noreturn]] void terminate() noexcept;
 
-class exception
-{
-	public:
-		exception() = default;
-		exception(const exception&) = default;
-		exception& operator=(const exception&) noexcept;
-		virtual const char* what() const;
-		virtual ~exception() = default;
-};
-
+    class exception
+    {
+        public:
+            exception() = default;
+            exception(const exception&) = default;
+            exception& operator=(const exception&) noexcept;
+            virtual const char* what() const;
+            virtual ~exception() = default;
+    };
 }
 
Index: uspace/lib/cpp/src/exception.cpp
===================================================================
--- uspace/lib/cpp/src/exception.cpp	(revision 7d0f2eb00447d074f8e45520646afaee44512f87)
+++ uspace/lib/cpp/src/exception.cpp	(revision 9396c525855832d2f7468890aa9093c4872302a7)
@@ -26,8 +26,15 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
+#include <cstdlib>
 #include <exception>
 
 namespace std
 {
+    [[noreturn]] void terminate() noexcept
+    {
+        abort();
+    }
+
     const char* exception::what() const
     {
