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