Put errno.h in the header file because of linking error (/usr/bin/ld: errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6 section .tbss mismatches non-TLS reference in CMakeFiles/libkr1pt0.dir/src/alloc/alloc.c.o)