[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cistron-radius
Subject:    Re: current snapshots (encrattr.c)
From:       Emile van Bergen <emile.van.bergen () kpnqwest ! com>
Date:       2001-06-29 8:11:49
[Download RAW message or body]

On Jun 28, 2001 at 15:07, miquels@cistron-office.nl used the e-mail system...:

> In article <1A093F9F32931249BF1EAD26C7280F5A6EDEBB@fnexchange3.corp.fast.net>,
> Ed Bachman  <edba@fast.net> wrote:

[SNIP]

> >gcc -Wall -g -DNOSHADOW -c encrattr.c
> >In file included from encrattr.c:19:
> >/usr/include/netinet/in.h:233: syntax error before `in_addr_t'
> >/usr/include/netinet/in.h:285: syntax error before `u_char'
> >In file included from /usr/include/netinet/in.h:475,
> >                 from encrattr.c:19:
> >/usr/include/netinet6/in6.h:124: syntax error before `u_int8_t'

This is so strange - I mean, that the system's include files just assume
certain types are defined without actually making sure that they are...?

> Hm, could you try a
> 
> #include <sys/types.h>
> 
> just before the other includes in encrattr.c ?
> 
> If that doesn't help, try adding #include <sys/socket.h> before
> <netinet/in.h>.

Judging from the other post it did help - well, my apologies ;-)


Cheers,

Emile.

-- 

M.vr.gr. / Best regards,

Emile van Bergen

smtp:           emile.van.bergen@kpnqwest.com
gsm:            +31622523230


- 
List info/subscribe/unsubscribe? See http://www.radius.cistron.nl/list/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic