Include errno.h in chthread.h