netinet/tcp.h compile error

2002-12-20 Thread David Holm
Hi,
when trying to install adasockets I got the following error message:

/usr/include/netinet/tcp.h:44: syntax error before tcp_seq
 /usr/include/netinet/tcp.h:44: warning: data definition has no type or 
storage 
 class
 /usr/include/netinet/tcp.h:45: syntax error before tcp_cc
 /usr/include/netinet/tcp.h:45: warning: data definition has no type or 
storage 
 class
 /usr/include/netinet/tcp.h:55: syntax error before u_short

I replaced #include sys/cdefs.h with #include sys/types.h to make it work.

Is this a bug?

//David Holm

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: netinet/tcp.h compile error

2002-12-20 Thread Kris Kennaway
On Sat, Dec 21, 2002 at 12:47:22AM +0100, David Holm wrote:
 Hi,
 when trying to install adasockets I got the following error message:
 
 /usr/include/netinet/tcp.h:44: syntax error before tcp_seq
  /usr/include/netinet/tcp.h:44: warning: data definition has no type or 
 storage 
  class
  /usr/include/netinet/tcp.h:45: syntax error before tcp_cc
  /usr/include/netinet/tcp.h:45: warning: data definition has no type or 
 storage 
  class
  /usr/include/netinet/tcp.h:55: syntax error before u_short
 
 I replaced #include sys/cdefs.h with #include sys/types.h to make it work.
 
 Is this a bug?

Most likely an application bug, yes.  Please submit a PR to fix the port.

Kris



msg49138/pgp0.pgp
Description: PGP signature