diff --git a/nall/arithmetic/natural.hpp b/nall/arithmetic/natural.hpp
index fcc902b8d..cc1bd907c 100644
--- a/nall/arithmetic/natural.hpp
+++ b/nall/arithmetic/natural.hpp
@@ -1,3 +1,5 @@
+#include <stdexcept>
+
 #define ConcatenateType(Size) uint##Size##_t
 #define DeclareType(Size) ConcatenateType(Size)