Skip to contentSkip to conversation

include/atomic.h: add stdlib.h for size_t

PATCH Applied Danny Al-Gaaf 2 participants 2 messages Dec 11, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/atomic.h: add stdlib.h for size_t

Include missing stdlib.h needed for size_t.

---
 src/include/atomic.h | 2 ++
 1 file changed, 2 insertions(+)
src/include/atomic.h +2 -0
index 0c22b26..3ecbd28 100644
@@ -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
Applied
#1 lore raw

Applied; thanks!

sage

Quoted 29 lines · Danny Al-Gaaf

Include missing stdlib.h needed for size_t.

---
 src/include/atomic.h | 2 ++
 1 file changed, 2 insertions(+)
src/include/atomic.h +2 -0
index 0c22b26..3ecbd28 100644
@@ -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