diff mbox

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

Message ID 1355231108-18168-1-git-send-email-danny.al-gaaf@bisect.de (mailing list archive)
State New, archived
Headers show

Commit Message

Danny Al-Gaaf Dec. 11, 2012, 1:05 p.m. UTC
Include missing stdlib.h needed for size_t.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
---
 src/include/atomic.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Sage Weil Dec. 11, 2012, 4:45 p.m. UTC | #1
Applied; thanks!

sage


On Tue, 11 Dec 2012, Danny Al-Gaaf wrote:

> Include missing stdlib.h needed for size_t.
> 
> Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
> ---
>  src/include/atomic.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/include/atomic.h b/src/include/atomic.h
> index 0c22b26..3ecbd28 100644
> --- a/src/include/atomic.h
> +++ b/src/include/atomic.h
> @@ -20,6 +20,8 @@
>  # include "acconfig.h"
>  #endif
>  
> +#include <stdlib.h>
> +
>  #ifndef NO_ATOMIC_OPS
>  
>  // libatomic_ops implementation
> -- 
> 1.8.0.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/src/include/atomic.h b/src/include/atomic.h
index 0c22b26..3ecbd28 100644
--- a/src/include/atomic.h
+++ b/src/include/atomic.h
@@ -20,6 +20,8 @@ 
 # include "acconfig.h"
 #endif
 
+#include <stdlib.h>
+
 #ifndef NO_ATOMIC_OPS
 
 // libatomic_ops implementation