[compiler-rt] Silence a deprecation warning on FreeBSD
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Mon, 8 Mar 2021 14:23:42 +0000 (14:23 +0000)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 10 Mar 2021 11:17:33 +0000 (11:17 +0000)
commitcbcab14b19fce821a40a72a6f510207ced916a23
tree7527f52a28f86938043225c5a34c3b2aa4a5bc37
parent6840fc4e7fa1c9b88c17ff0b684f1137125a96af
[compiler-rt] Silence a deprecation warning on FreeBSD

On FreeBSD the sys/timeb.h header has a #warning that it's deprecated.
However, we need to include this header here, so silence this warning that
is printed multiple times otherwise.

Reviewed By: dim

Differential Revision: https://reviews.llvm.org/D94963
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp