Re: The dbase conrtib doesn't compile - Mailing list pgsql-hackers

From Tom Lane
Subject Re: The dbase conrtib doesn't compile
Date
Msg-id 13240.1008906877@sss.pgh.pa.us
Whole thread Raw
In response to The dbase conrtib doesn't compile  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: The dbase conrtib doesn't compile  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Re: The dbase conrtib doesn't compile  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> In HEAD contrib/dbase:
> gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../src/
> interf
> aces/libpq -I. -I../../src/include   -c -o dbf2pg.o dbf2pg.c
> dbf2pg.c:19: iconv.h: No such file or directory

Looks like someone took a shortcut in dealing with <iconv.h>.
What the heck is that, anyway, and do we need the ifdef'd code at all?

(FWIW, the code compiles fine if you do have <iconv.h>)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: contrib idea
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: The dbase conrtib doesn't compile