aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-01-13 16:37:57 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-01-13 17:37:37 +0000
commitb4b1c6aa6d28d3afe989a6dc3210606a3d55a367 (patch)
tree92ad8943c7e74a75fd7860a8bf4eedc46da53a1d
parent3456db4de8940235b303ca38a689353854c9239f (diff)
downloadgcc-b4b1c6aa6d28d3afe989a6dc3210606a3d55a367.zip
gcc-b4b1c6aa6d28d3afe989a6dc3210606a3d55a367.tar.gz
gcc-b4b1c6aa6d28d3afe989a6dc3210606a3d55a367.tar.bz2
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>.
-rw-r--r--libstdc++-v3/include/bits/std_mutex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/std_mutex.h b/libstdc++-v3/include/bits/std_mutex.h
index bc51535..f74ddc4 100644
--- a/libstdc++-v3/include/bits/std_mutex.h
+++ b/libstdc++-v3/include/bits/std_mutex.h
@@ -36,6 +36,7 @@
# include <bits/c++0x_warning.h>
#else
+#include <errno.h> // EBUSY
#include <bits/functexcept.h>
#include <bits/gthr.h>