Index: uspace/lib/c/include/thread.h
===================================================================
--- uspace/lib/c/include/thread.h	(revision 47b70062180b321b58ca43746901c748ff7a6b2d)
+++ uspace/lib/c/include/thread.h	(revision 4bb7ffef3e23c7aa82199ac6ba9838b10a2ceea7)
@@ -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 *);
