After importing , you should edit it and change the line
and then import in your project as well. This should fix that error.
Anyway the headers you need to import to compile the code you posted are:
Hope this helps =)
You need to "Add files to project", not simply importing it with #import or #include.
instead of messing with the original headers. More info here: Implicit declaration of function 'ether_ntoa' is invalid in C99