projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
[musl]
/
src
/
stdlib
/
labs.c
diff --git
a/src/stdlib/labs.c
b/src/stdlib/labs.c
index
675b95b
..
83ddb14
100644
(file)
--- 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;