got it
add:
#include <Arduino.h>
underneath:
#include <WProgram.h>
in Mirf.h in the library files
Maayan Dreamer