aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/llvm-project/libcxx/include/__config4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/include/__config b/contrib/llvm-project/libcxx/include/__config
index 40e6da8bc03a..f52fb0441293 100644
--- a/contrib/llvm-project/libcxx/include/__config
+++ b/contrib/llvm-project/libcxx/include/__config
@@ -477,6 +477,10 @@ _LIBCPP_HARDENING_MODE_DEBUG
# include <features.h> // for __NATIVE_ASCII_F
# endif
+# ifdef __FreeBSD__
+# include <osreldate.h> // for __FreeBSD_version
+# endif
+
# ifndef __BYTE_ORDER__
# error \
"Your compiler doesn't seem to define __BYTE_ORDER__, which is required by libc++ to know the endianness of your target platform"