> Bruce Momjian writes:
>
> > > Hmm... I used to be able to build in a separate tree than my source
> > > tree. Since this patch was applied, I can't. It seems that the
> > > preprocessor is finding the system md5.h (i.e. /usr/include/md5.h)
> > > rather than the PostgreSQL md5.h. Suggestions on how to fix?
>
> I kind of doubt that, since the new code does #include "libpq/md5.h".
>
> > Ewe, you have md5.h somewhere else. Let me rename it to pgmd5.h. Is
> > that OK for everyone? Or maybe I should move it all into crypt.h. That
> > seems to make more sense.
>
> No, the problem is that you are not supposed to have include files in the
> backend subtree. I'm surprised the code builds at all.
Oh, yes, I had moved md5.h to libpq because I needed md5.c. I should
have just pointed to libpq/md5.h. Anyway, it is better in crypt.h
anyway.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026