diff options
Diffstat (limited to 'gnu/usr.bin/perl/vos/vosish.h')
-rw-r--r-- | gnu/usr.bin/perl/vos/vosish.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/vos/vosish.h b/gnu/usr.bin/perl/vos/vosish.h index d6000656983..dfddd31fd7b 100644 --- a/gnu/usr.bin/perl/vos/vosish.h +++ b/gnu/usr.bin/perl/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]); |