On Fri, Oct 22, 2021 at 12:11:54PM +0200, Mark Kettenis wrote:
> > Date: Fri, 22 Oct 2021 05:09:25 +0100
> > From: Theo Buehler <[email protected]>
> > 
> > LibreSSL portable uses base64.c. Not everyone has u_char, so this is a
> > mild portability annoyance. This means that we can get rid of
> > sys/types.h. I also removed stdio.h since that seems unused.
> > 
> > As far as I can see, base64.c directly needs
> > 
> > ctype.h for isspace()
> > resolv.h for the function prototypes
> > stdlib.h for size_t
> > string.h for strchr()
> > 
> > The remaining includes seem to be needed for resolv.h, although
> > sys/socket.h probably isn't needed either.
> 
> On some systems including <sys/types.h> is actually required as other
> headers such as <sys/socket.h> will rely on it but won't pull it in
> themselves.

Thanks. I've put it back.

Reply via email to