summaryrefslogtreecommitdiff
path: root/test/libcxx/language.support/has_c11_features.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/language.support/has_c11_features.pass.cpp')
-rw-r--r--test/libcxx/language.support/has_c11_features.pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/libcxx/language.support/has_c11_features.pass.cpp b/test/libcxx/language.support/has_c11_features.pass.cpp
index cdccc00e21b4..4edec534eb98 100644
--- a/test/libcxx/language.support/has_c11_features.pass.cpp
+++ b/test/libcxx/language.support/has_c11_features.pass.cpp
@@ -14,6 +14,9 @@
// _LIBCPP_HAS_C11_FEATURES - which is defined in <__config>
// They should always be the same
+#include <__config>
+#include "test_macros.h"
+
#ifdef TEST_HAS_C11_FEATURES
# ifndef _LIBCPP_HAS_C11_FEATURES
# error "TEST_HAS_C11_FEATURES is defined, but _LIBCPP_HAS_C11_FEATURES is not"