#include "../thread-internal.h" int * __errno(void) { return &thread_self_entry()->__errno; }