Hello, While trying to compile a package, I get the following warnings:
/home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:39: warning: redefinition of `in_port_t' /usr/include/netinet/in.h:66: warning: `in_port_t' previously declared here /home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:40: warning: redefinition of `in_addr_t' /usr/include/netinet/in.h:110: warning: `in_addr_t' previously declared here Now, sysdep-os.h defines in_port_t with: typedef u_int16_t in_port_t; typedef u_int32_t in_addr_t; but /usr/include/netinet/in.h defines it as: typedef uint16_t in_port_t; typedef uint32_t in_addr_t; If I change the defines in sysdep-os.h from u_int16_t to uint16_t and u_int32_t to uint32_t, I get the following: /home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:39: parse error before `in_port_t' /home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:39: warning: type defaults to `int' in declaration of `in_port_t' /home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:39: warning: data definition has no type or storage class /home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:40: parse error before `in_addr_t' /home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:40: warning: type defaults to `int' in declaration of `in_addr_t' /home/ruff/debian/isakmpd/sysdep/linux/sysdep-os.h:40: warning: data definition has no type or storage class which makes me think that it isn't picking up netinet/in.h correctly, or something. Any ideas on how to fix this? -- Chris Ruffin <[EMAIL PROTECTED]>
pgpbrp9vydInI.pgp
Description: PGP signature