Re: [HACKERS] segfault caused by heimdal (was: SUSE port)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Reinhard Max <max@suse.de>
Cc: pgsql-hackers@postgresql.org, pgsql-patches@postgresql.org
Date: 2005-01-12T19:59:42Z
Lists: pgsql-hackers
Reinhard Max <max@suse.de> writes: > --- src/interfaces/libpq/fe-auth.c > +++ src/interfaces/libpq/fe-auth.c > @@ -244,6 +244,11 @@ > > #include <krb5.h> > > +#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__) > +/* if krb5.h didn't include it already */ > +#include <com_err.h> > +#endif > + > /* > * pg_an_to_ln -- return the local name corresponding to an authentication > * name That looks like a reasonable fix, but isn't it needed in backend/libpq/auth.c as well? regards, tom lane