It is difficult to tell the root cause and give a solution without seeing the source code. However, based on the output error message, the "#define" macro has the syntax issue. In the c programming, the #define should go like "#define _NETINET_IN_H_". Are you sure the "in.h" should be compiled...