Subject: Re: c++ build problem with digikam
To: Julio M. Merino Vidal <>
From: Mark Davies <>
List: tech-pkg
Date: 02/19/2006 22:45:24
On Sunday 19 February 2006 22:21, Julio M. Merino Vidal wrote:
> I fixed this problem by moving the 'extern "C"' includes block
> after the C++ includes one.

> The problem comes with the inclusion of tiffio.h, which messes
> everything up.  I don't know why exactly, but I guess that this
> way some C++ definition has preference over the C one.

yes, moving <unistd.h> before <tiffio.h>, at Christos' suggestion, was enough 
to fix it.