Index: include/cassert =================================================================== --- include/cassert +++ include/cassert @@ -8,6 +8,9 @@ // //===----------------------------------------------------------------------===// +#ifndef _LIBCPP_CASSERT +#define _LIBCPP_CASSERT + /* cassert synopsis @@ -23,3 +26,5 @@ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif + +#endif // _LIBCPP_CASSERT Index: include/cstdalign =================================================================== --- include/cstdalign +++ include/cstdalign @@ -1,5 +1,5 @@ // -*- C++ -*- -//===-------------------------- cassert -----------------------------------===// +//===--------------------------- cstdalign --------------------------------===// // // The LLVM Compiler Infrastructure // @@ -8,18 +8,26 @@ // //===----------------------------------------------------------------------===// +#ifndef _LIBCPP_CSTDALIGN +#define _LIBCPP_CSTDALIGN + /* - cassert synopsis + cstdalign synopsis Macros: - assert + alignof + alignas + __alignof_is_defined + __alignas_is_defined */ #include <__config> -#include +#include #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif + +#endif // _LIBCPP_CSTDALIGN Index: test/libcxx/min_max_macros.sh.cpp =================================================================== --- test/libcxx/min_max_macros.sh.cpp +++ test/libcxx/min_max_macros.sh.cpp @@ -70,6 +70,8 @@ TEST_MACROS(); #include TEST_MACROS(); +#include +TEST_MACROS(); #include TEST_MACROS(); #include Index: test/libcxx/utilities/any/size_and_alignment.pass.cpp =================================================================== --- test/libcxx/utilities/any/size_and_alignment.pass.cpp +++ test/libcxx/utilities/any/size_and_alignment.pass.cpp @@ -14,6 +14,7 @@ // Check that the size and alignment of any are what we expect. #include +#include int main() {