projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765a834
)
Fix missing include on AIX
author
kwolekr
<kwolekr@minetest.net>
Sat, 17 Oct 2015 05:16:17 +0000
(
01:16
-0400)
committer
kwolekr
<kwolekr@minetest.net>
Sat, 17 Oct 2015 05:16:17 +0000
(
01:16
-0400)
src/threading/thread.h
patch
|
blob
|
history
diff --git
a/src/threading/thread.h
b/src/threading/thread.h
index 3c8447b53b52bd831dc51c7e8d8c302a61cec4b4..cd46856e9342bb8abae54833d9dbd4ae6ccc1925 100644
(file)
--- a/
src/threading/thread.h
+++ b/
src/threading/thread.h
@@
-32,7
+32,10
@@
DEALINGS IN THE SOFTWARE.
#include <string>
#if USE_CPP11_THREADS
- #include <thread>
+ #include <thread> // for std::thread
+#endif
+#ifdef _AIX
+ #include <sys/thread.h> // for tid_t
#endif
/*