include/atomic.h: add stdlib.h for size_t
PATCH 1/1 include/atomic.h: add stdlib.h for size_t
Include missing stdlib.h needed for size_t.
Signed-off-by Danny Al-Gaaf <[email protected]>
--- src/include/atomic.h | 2 ++ 1 file changed, 2 insertions(+)
src/include/atomic.h +2 -0
@@ -20,6 +20,8 @@# include "acconfig.h" #endif +#include <stdlib.h> +#ifndef NO_ATOMIC_OPS // libatomic_ops implementation
Signature · 1 line
1.8.0.1
Sage Weil
AppliedApplied; thanks!
sage
Quoted 29 lines · Danny Al-Gaaf
Include missing
stdlib.hneeded forsize_t.Signed-off-by Danny Al-Gaaf <[email protected]>--- src/include/atomic.h | 2 ++ 1 file changed, 2 insertions(+)src/include/atomic.h +2
-0@@ -20,6 +20,8 @@# include "acconfig.h" #endif +#include <stdlib.h> +#ifndef NO_ATOMIC_OPS // libatomic_ops implementation Signature · 6 lines
1.8.0.1 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html