Re: Magic numbers in B::Concise
[p5sagit/p5-mst-13.2.git] / util.c
diff --git a/util.c b/util.c
index a8e7553..6a0ff44 100644 (file)
--- a/util.c
+++ b/util.c
@@ -4235,3 +4235,12 @@ Perl_my_socketpair (int family, int type, int protocol, int fd[2]) {
     }
 }
 #endif /* !defined(HAS_SOCKETPAIR) && defined(HAS_SOCKET) */
+#ifdef HAS_SOCKETPAIR
+/* In any case have a stub so that there's code corresponding
+ * to the my_socketpair in global.sym. */
+int
+Perl_my_socketpair (int family, int type, int protocol, int fd[2]) {
+    return socketpair(family, type, protocol, fd);
+}
+#endif
+