Re: pg_sendmail function compile problem
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Joseph" <lters@mrtc.com>
Cc: pgsql-general@postgresql.org
Date: 2001-01-20T16:24:15Z
Lists: pgsql-general
"Joseph" <lters@mrtc.com> writes: > In file included from mail.c:29: > /usr/include/pgsql/utils/elog.h:37: parse error before `CritSectionCount' > /usr/include/pgsql/utils/elog.h:37: warning: data definition has no type or > storage class At a guess, this code is neglecting to include postgres.h first. All of the internal headers in PG assume that you included postgres.h beforehand. regards, tom lane