Some modifications to avoid file name conflicts with other parts and make it compile. As the glue code to the hardware (spi.c/.h) is still missing, there are a few warnings, of course. Changes to this library are tracked in pff.c.