Integrate mainline
[p5sagit/p5-mst-13.2.git] / vos / vosish.h
index 838bcdf..dfddd31 100644 (file)
@@ -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]);