Re: [xml] xmllib2-2.3.4 compiler warnings on QNX
- From: robert <robert xml 00008 org>
- To: xml rufus w3 org
- Subject: Re: [xml] xmllib2-2.3.4 compiler warnings on QNX
- Date: Fri, 23 Mar 2001 10:38:51 +0100
nanoftp.c(140): Warning! W301: No prototype found for 'gethostname'
GETHOSTNAME(2) Linux Programmer's Manual GETHOSTNAME(2)
...
#include <unistd.h>
...
nanoftp.c: line 33 to 35 :
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
On Solaris, IRIX and FreeBSD the prototype resides in <netdb.h>. Linux
isn't too portable with regards to include-files, I'm afraid.
robert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]