summaryrefslogtreecommitdiff
path: root/src/stdlib/abs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/abs.c')
-rw-r--r--src/stdlib/abs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdlib/abs.c b/src/stdlib/abs.c
index 4806d629..e721fdc2 100644
--- a/src/stdlib/abs.c
+++ b/src/stdlib/abs.c
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+
int abs(int a)
{
return a>0 ? a : -a;