OK, add #include <stdio.h> to the file. That should fix it.
> On Mon, Feb 12, 2001 at 08:55:31AM -0500, Bruce Momjian wrote:
> > I have added #include <unistd.h>. Let me know if that helps.
>
> it works, thanks.
> there are still two warnings, but they don't hurt the program.
>
> oid2name.c: In function `sql_exec_dumpdb':
> oid2name.c:318: warning: passing arg 3 of `sql_exec' makes integer from pointer without a cast
> oid2name.c: In function `sql_exec_dumptable':
> oid2name.c:335: warning: passing arg 3 of `sql_exec' makes integer from pointer without a cast
>
> ciao,
> andrea
>
--
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