X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vos%2Fvosish.h;h=dfddd31fd7b9f68556e3a83b356dbf6e88253610;hb=85ce96a160e902929b94338ada20cf46b265d595;hp=d600065698350692cf5a9634f313c9d471c115c0;hpb=0e06870bf080a38cda51c06c6612359afc2334e1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/vos/vosish.h b/vos/vosish.h index d600065..dfddd31 100644 --- a/vos/vosish.h +++ b/vos/vosish.h @@ -1 +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]);