AC_CACHE_CHECK([for complete errno.h], gl_cv_header_errno_h_complete, [
AC_EGREP_CPP(booboo,[
#include <errno.h>
-#ifndef EOVERFLOW
+#if !defined EOVERFLOW || !defined ECANCELED
booboo
#endif
],
AC_SUBST($1[_HIDDEN])
AC_SUBST($1[_VALUE])
fi
-])
\ No newline at end of file
+])