add stddef.h to cds/details/defs.h
authorkhizmax <libcds.dev@gmail.com>
Tue, 11 Nov 2014 19:17:03 +0000 (22:17 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 11 Nov 2014 19:17:03 +0000 (22:17 +0300)
cds/compiler/cxx11_atomic.h
cds/details/defs.h

index e83195611639fdaa70857c62aa450dceeb920872..08cdd3a39a8cbb7b289e6c420de02dd2f44a99ff 100644 (file)
@@ -4,7 +4,6 @@
 #define __CDS_COMPILER_CXX11_ATOMIC_H
 //@cond
 
 #define __CDS_COMPILER_CXX11_ATOMIC_H
 //@cond
 
-#include <stddef.h>     // ptrdiff_t
 #include <type_traits>  // make_unsigned
 #include <cds/details/defs.h>
 #include <cds/details/aligned_type.h>
 #include <type_traits>  // make_unsigned
 #include <cds/details/defs.h>
 #include <cds/details/aligned_type.h>
index 943129e989d56f0aa5a87b77d753cbc69032cb8b..fa8a66385e0e2d2c4f5d3ccfa6a113297a481782 100644 (file)
@@ -3,6 +3,7 @@
 #ifndef __CDS_DEFS_H
 #define __CDS_DEFS_H
 
 #ifndef __CDS_DEFS_H
 #define __CDS_DEFS_H
 
+#include <stddef.h>
 #include <assert.h>
 #include <cstdint>
 #include <exception>
 #include <assert.h>
 #include <cstdint>
 #include <exception>