Subject: Re: uint8_t?
To: None <port-vax@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: port-vax
Date: 09/22/2001 11:22:40
On Fri, Sep 21, 2001 at 02:21:22AM -0400, John Klos wrote:

> Here is the code that it is complaining about:
> 
> struct restrictlist6 {
>         struct restrictlist6 *next;     /* link to next entry */
>         uint8_t addr6[16];              /* Ipv6 host address (host byte order) */
>         u_long count;                   /* number of packets matched */
>         u_short flags;                  /* accesslist flags */
>         u_short mflags;                 /* match flags */
> };
> 
> What exactly is uint8_t? I've not run into this datatype before.

just a guess, but:

typedef unsigned char uint8_t;

should take care of it, assuming char is 8-bits.  :)

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
  "If you are wondering why I stopped after ten chapters, it is because
           Chapter 11 was never considered for a book on Alpha!"
    --  Dileep P. Bhandarkar, _Alpha Implementations and Architecture_