projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3456db4
)
libstdc++: Add <errno.h> to <bits/std_mutex.h>
author
Jonathan Wakely
<jwakely@redhat.com>
Fri, 13 Jan 2023 16:37:57 +0000
(16:37 +0000)
committer
Jonathan Wakely
<jwakely@redhat.com>
Fri, 13 Jan 2023 17:37:37 +0000
(17:37 +0000)
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>.
libstdc++-v3/include/bits/std_mutex.h
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/bits/std_mutex.h
b/libstdc++-v3/include/bits/std_mutex.h
index
bc51535
..
f74ddc4
100644
(file)
--- 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>