Index: uspace/lib/c/include/thread.h
===================================================================
--- uspace/lib/c/include/thread.h	(revision 47b70062180b321b58ca43746901c748ff7a6b2d)
+++ uspace/lib/c/include/thread.h	(revision 9dbf558776183a15941958e4baadf0177ae7e5d6)
@@ -38,6 +38,5 @@
 #include <libarch/thread.h>
 #include <sys/types.h>
-
-typedef uint64_t thread_id_t;
+#include <abi/proc/thread.h>
 
 extern int thread_create(void (*)(void *), void *, const char *, thread_id_t *);
