diff --git a/Userland/Libraries/LibC/stdlib.cpp b/Userland/Libraries/LibC/stdlib.cpp index a2f7fd7651..7ccd0fcff6 100644 --- a/Userland/Libraries/LibC/stdlib.cpp +++ b/Userland/Libraries/LibC/stdlib.cpp @@ -725,6 +725,11 @@ int abs(int i) return i < 0 ? -i : i; } +long int labs(long int i) +{ + return i < 0 ? -i : i; +} + long long int llabs(long long int i) { return i < 0 ? -i : i;