On 15 Nov 2002, [EMAIL PROTECTED] wrote: > <[EMAIL PROTECTED]> schrieb am 15.11.02 16:48:12: > > Hi, > > > gcc -g -O2 -W -Wall -Wshadow -Wpointer-arith -Wcast-align -DHAVE_CONFIG_H -I./popt >-I./src -c -o src/clinet.o src/clinet.c > > In file included from src/clinet.c:43: > > /usr/include/sys/socket.h:484: parse error before "sendfile" > > /usr/include/sys/socket.h:485: parse error before "bsize_t" > > /usr/include/sys/socket.h:486: parse error before "sendpath" > > /usr/include/sys/socket.h:487: parse error before "bsize_t" > > > just a question: does HPUX have a sendfile function?
Apparently yes, at least in 11i: http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B3921-90010&service=hpux&path=../B3921-90010/00/11/1103&title=HP-UX%20Reference #include <sys/socket.h> sbsize_t sendfile(int s, int fd, off_t offset, bsize_t nbytes, const struct iovec *hdtrl, int flags); I think I heard HP-UX is moving towards Linux Standards Base compliance. -- Martin who remembers needing to use Linux's SCO compatibility mode :-) _______________________________________________ distcc mailing list [EMAIL PROTECTED] http://lists.samba.org/cgi-bin/mailman/listinfo/distcc
