X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vos%2Fvosish.h;h=dfddd31fd7b9f68556e3a83b356dbf6e88253610;hb=85ce96a160e902929b94338ada20cf46b265d595;hp=838bcdf7dfb949fb2ee598860dda4a5249dbe107;hpb=36df99d62e5fb6553737ac83b8d35e75836213ae;p=p5sagit%2Fp5-mst-13.2.git diff --git a/vos/vosish.h b/vos/vosish.h index 838bcdf..dfddd31 100644 --- a/vos/vosish.h +++ b/vos/vosish.h @@ -1,4 +1,14 @@ +#ifdef __GNUC__ #include "../unixish.h" +#else +#include "unixish.h" +#endif /* The following declaration is an avoidance for posix-950. */ extern int ioctl (int fd, int request, ...); + +/* Specify a prototype for truncate() since we are supplying one. */ +extern int truncate (const char *path, off_t len); + +/* Specify a prototype for socketpair() since we supplying one. */ +extern int socketpair (int family, int type, int protocol, int fd[2]);