]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include/atomic.h: add stdlib.h for size_t
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 11 Dec 2012 13:05:08 +0000 (14:05 +0100)
committerSage Weil <sage@inktank.com>
Tue, 11 Dec 2012 16:44:09 +0000 (08:44 -0800)
Include missing stdlib.h needed for size_t.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/include/atomic.h

index 0c22b269c7c198f2e521a1410bdcf5effdfb5bbf..3ecbd28737634a61c06c040f9bcf7f4b682d5eb7 100644 (file)
@@ -20,6 +20,8 @@
 # include "acconfig.h"
 #endif
 
+#include <stdlib.h>
+
 #ifndef NO_ATOMIC_OPS
 
 // libatomic_ops implementation