src/os/bsd/vm/os_bsd.inline.hpp

Print this page
rev 3111 : imported patch osx-threadid

@@ -40,10 +40,11 @@
 
 #include <unistd.h>
 #include <sys/socket.h>
 #include <sys/poll.h>
 #include <netdb.h>
+#include <mach/mach.h>
 
 inline void* os::thread_local_storage_at(int index) {
   return pthread_getspecific((pthread_key_t)index);
 }