diff options
Diffstat (limited to 'src/stdlib/labs.c')
-rw-r--r-- | src/stdlib/labs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdlib/labs.c b/src/stdlib/labs.c index 675b95b8..83ddb147 100644 --- a/src/stdlib/labs.c +++ b/src/stdlib/labs.c @@ -1,3 +1,5 @@ +#include <stdlib.h> + long labs(long a) { return a>0 ? a : -a; |