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 e831956..08cdd3a 100644 (file)
@@ -4,7 +4,6 @@
 #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>
index 943129e..fa8a663 100644 (file)
@@ -3,6 +3,7 @@
 #ifndef __CDS_DEFS_H
 #define __CDS_DEFS_H
 
+#include <stddef.h>
 #include <assert.h>
 #include <cstdint>
 #include <exception>