summaryrefslogtreecommitdiff
path: root/src/threading
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-10-17 01:16:17 -0400
committerkwolekr <kwolekr@minetest.net>2015-10-17 01:16:17 -0400
commit6ba9d6545d9a02dd3552f89e7b79c6ba2e760736 (patch)
treef2c30d25804e8d2e9f9a6ef10b8cd3f6b9f804b5 /src/threading
parent765a834cd04473afeb4b86b445dee901e0d0c83c (diff)
downloadminetest-6ba9d6545d9a02dd3552f89e7b79c6ba2e760736.tar.gz
minetest-6ba9d6545d9a02dd3552f89e7b79c6ba2e760736.tar.bz2
minetest-6ba9d6545d9a02dd3552f89e7b79c6ba2e760736.zip
Fix missing include on AIX
Diffstat (limited to 'src/threading')
-rw-r--r--src/threading/thread.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/threading/thread.h b/src/threading/thread.h
index 3c8447b53..cd46856e9 100644
--- 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
/*