Include errno.h to make tests pass