diff -urN compface-1.4/cmain.c compface-1.4.1/cmain.c --- compface-1.4/cmain.c 2000-11-23 00:51:03.000000000 +0000 +++ compface-1.4.1/cmain.c 2003-09-26 23:43:35.000000000 +0100 @@ -36,6 +36,10 @@ #include #endif +#ifdef HAVE_ERRNO_H +#include +#endif + #include "compface.h" /* the buffer is longer than needed to handle sparse input formats */ diff -urN compface-1.4/configure.in compface-1.4.1/configure.in --- compface-1.4/configure.in 2000-11-22 13:41:57.000000000 +0000 +++ compface-1.4.1/configure.in 2003-09-26 23:41:58.000000000 +0100 @@ -12,7 +12,7 @@ dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h strings.h) +AC_CHECK_HEADERS(fcntl.h strings.h errno.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_CHECK_FUNCS(strerror) diff -urN compface-1.4/uncmain.c compface-1.4.1/uncmain.c --- compface-1.4/uncmain.c 2000-11-23 00:51:24.000000000 +0000 +++ compface-1.4.1/uncmain.c 2003-09-26 23:43:33.000000000 +0100 @@ -36,6 +36,10 @@ #include #endif +#ifdef HAVE_ERRNO_H +#include +#endif + #include "compface.h" /* the buffer is longer than needed to handle sparse input formats */