Fix missing include on AIX
authorkwolekr <kwolekr@minetest.net>
Sat, 17 Oct 2015 05:16:17 +0000 (01:16 -0400)
committerkwolekr <kwolekr@minetest.net>
Sat, 17 Oct 2015 05:16:17 +0000 (01:16 -0400)
src/threading/thread.h

index 3c8447b53b52bd831dc51c7e8d8c302a61cec4b4..cd46856e9342bb8abae54833d9dbd4ae6ccc1925 100644 (file)
@@ -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
 
 /*