ext2tools fgetflags.c: In function 'fgetflags': fgetflags.c:93:2: error: 'errno' undeclared (first use in this function) errno = EOPNOTSUPP; ^