clang-3.5 compatibility
authorkhizmax <libcds.dev@gmail.com>
Tue, 11 Nov 2014 05:50:08 +0000 (08:50 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 11 Nov 2014 05:50:08 +0000 (08:50 +0300)
cds/compiler/cxx11_atomic.h

index 08cdd3a..e831956 100644 (file)
@@ -4,6 +4,7 @@
 #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>