--- src/interfaces/libpq/fe-auth.c +++ src/interfaces/libpq/fe-auth.c @@ -244,6 +244,11 @@ #include +#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__) +/* if krb5.h didn't include it already */ +#include +#endif + /* * pg_an_to_ln -- return the local name corresponding to an authentication * name