Simon Josefsson wrote: > @@ -21,6 +21,8 @@ > > #ifdef HAVE_UNAME > # include <sys/utsname.h> > +#else > +# include <string.h> > #endif > > /* Put up to LEN chars of the host name into NAME.
While at it, you could make the patch complete: The function strncpy also needs to be declared somewhere. Bruno