Skip to content
  • Andrea Canciani's avatar
    Introduce the cairo-missing library · 6d6bfbd6
    Andrea Canciani authored
    The cairo-missing library provides the functions which are needed in
    order to correctly compile cairo (or its utilities) and which were not
    found during configuration.
    
    Fixes the build on MacOS X Lion, which failed because of collisons
    between the cairo internal getline and strndup and those in libc:
    
    cairo-analyse-trace.c:282: error: static declaration of ‘getline’ follows non-static declaration
    /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was here
    cairo-analyse-trace.c:307: error: static declaration of ‘strndup’ follows non-static declaration
    ...
    6d6bfbd6