On Mon, Apr 26, 2010 at 11:48 AM, Cyril Hrubis <[email protected]> wrote: > Hi! > Following patch adds missing include unistd.h needed for gethostbyname() and > getpid() into rpc1.c. > > Signed-off-by: Cyril Hrubis [email protected]
I agree with getpid needing unistd.h, but not gethostbyname(3): http://linux.die.net/man/3/gethostbyname gethostbyname(3)'s use is deprecated anyhow and should be replaced by getaddrinfo(3). Thanks, -Garrett ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
