libstdc++: Add <errno.h> to <bits/std_mutex.h>

This needs to be included explicitly now that we don't include all of
<system_error> here.

libstdc++-v3/ChangeLog:

	* include/bits/std_mutex.h: Include <errno.h>.
This commit is contained in:
Jonathan Wakely 2023-01-13 16:37:57 +00:00
parent 3456db4de8
commit b4b1c6aa6d

View File

@ -36,6 +36,7 @@
# include <bits/c++0x_warning.h>
#else
#include <errno.h> // EBUSY
#include <bits/functexcept.h>
#include <bits/gthr.h>