[cairo] [PATCH] Turn of Daemon mode in any2ppm on OS/2

Dave Yeo daveryeo at telus.net
Tue Mar 3 21:13:21 PST 2009


On 03/03/09 02:33 am, Chris Wilson wrote:
> I've added another couple of checks for daemon() to any2ppm, hopefully
> this should correctly detect its absence on your systems.
>
[...]
> +#if _BSD_SOURCE || (_XOPEN_SOURCE&&  _XOPEN_SOURCE<  500)
[...]

Unluckily these are defined here so still get the same error (daemon is 
commented out with a todo in stdlib.h)

Also while on the subject of compile errors I also get these conflicts,

cairo-script-operators.c:1228: error: conflicting types for '_fill'
i:/usr/include/stdio.h:525: error: previous declaration of '_fill' was
here

any2ppm.c:122: error: conflicting types for '_write'
i:/usr/include/unistd.h:642: error: previous declaration of '_write'
was here

Dave


More information about the cairo mailing list