Compilation fails because the compiler doesn't know the iconv_t type
in fribidi_main.c. This because
where FRIBIDI_NO_CHARSETS is defined (if it isn't defined in config.h already).
On my system the result is that iconv.h is not included, but FRIBIDI_NO_CHARSETS
is defined later anyway.
So, the fix is to simply change the include order. Patch follows.
Created attachment 4659 [details] [review]
change include order
2006-02-23 Behdad Esfahbod <email@example.com>
* fribidi_main.c: #include fribidi.h before checking for iconv.
(fixes fd.o bug #4659)