libnet-functions.h:1432:error:expected =, ,, ;, asm or __attribute__ before
I'm trying to make an application with libnet and the following error shows up:
/usr/include/./libnet/libnet-functions.h:1432: error: expected =, ,, ;, asm or __attribute__ before u_int32_t
I looked into the libnet-functions.h file and found that there is a "inline" used before "u_int32_t". It seems that the compiler can't recognize the keyword "inline". How can I fix this problem? Thanks in advance.