projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: include stdlib.h in compat/string.h
[lttng-tools.git]
/
src
/
common
/
compat
/
string.h
diff --git
a/src/common/compat/string.h
b/src/common/compat/string.h
index 7c426ef3de3bd97e5056ef469f6db6cb528b1c61..4240181f2bcdda7364d76b44dcf464115fcde8a1 100644
(file)
--- a/
src/common/compat/string.h
+++ b/
src/common/compat/string.h
@@
-25,6
+25,7
@@
#define _COMPAT_STRING_H
#include <string.h>
+#include <stdlib.h>
#ifdef HAVE_STRNLEN
static inline
@@
-117,7
+118,6
@@
static inline int lttng_fls(int val)
r -= 2;
}
if (!(x & 0x80000000U)) {
- x <<= 1;
r -= 1;
}
return r;
This page took
0.023259 seconds
and
4
git commands to generate.