[NUT-devel] [PATCH] add header dependencies to libnut.h

Clemens Ladisch cladisch at fastmail.net
Mon Jan 22 19:27:14 CET 2007


Luca Barbato wrote:
> Clemens Ladisch wrote:
> > Luca Barbato wrote:
> >> Clemens Ladisch wrote:
> >>> libnut.h uses types like size_t, uint64_t and off_t that are defined in
> >>> other headers.  This patch makes sure that these headers are included.
> >>
> >> sys/types.h ??
> > 
> > off_t
> 
> unistd.h maybe?

Why would you want to use this?  sys/types.h is just as portable (SUSv2) as
unistd.h but doesn't pull in all the other functions.


Regards,
Clemens



More information about the NUT-devel mailing list