DPDK redefines standard Linux IPPROTO which causes errors when compiling code that includes DPDK header files.
use attached patch
Include rte_ip.h before standard POSIX includes and compile your code