Include properly errno.h
Capsicumize pkg updating