icmp_ping library not compiling

christophedm:
I'm using 1.5.6-r2 , windows 8 x64.
My code: the sample code included with the sample.

The Arduino download page says:
"Arduino 1.5.6-r2 BETA (with support for Arduino Yún and Arduino Due boards)"

Are you using an Arduino Yún or Arduino Due? If not, switch to the released version.