From: Mark B. Alston (c-amb@math.utah.edu)
Date: 06/29/93


From: c-amb@math.utah.edu (Mark B. Alston)
Subject: in.h problem; can't find solution.
Date: Tue, 29 Jun 1993 23:39:40 GMT

I believe that I have seen this problem addressed on c.o.l before but
I can't find the solution anymore. While tring to compile emacs I get
the following errors:

/usr/include/linux/in.h:25: conflicting types for `IPPROTO_IP'
/usr/include/netinet/in.h:30: previous declaration of `IPPROTO_IP'
/usr/include/linux/in.h:26: conflicting types for `IPPROTO_ICMP'
/usr/include/netinet/in.h:31: previous declaration of `IPPROTO_ICMP'
/usr/include/linux/in.h:27: conflicting types for `IPPROTO_GGP'
/usr/include/netinet/in.h:32: previous declaration of `IPPROTO_GGP'
...
there are at least 5 more errors exactly the same.

However, I can't find any conflicts while looking at the files myself.
What gives?

Anyhow, I am using 0.99-10 and the 4.4 libs with gcc 2.3.3.

Thanks for your help.

P.S. If this is a faq shouldn't the solution or patch be kept with the
new header files on the ftp sites?