summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getaddrinfo.c')
-rw-r--r--otherlibs/unix/getaddrinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/getaddrinfo.c b/otherlibs/unix/getaddrinfo.c
index f79bdffff..cf3bb4a52 100644
--- a/otherlibs/unix/getaddrinfo.c
+++ b/otherlibs/unix/getaddrinfo.c
@@ -67,7 +67,7 @@ CAMLprim value unix_getaddrinfo(value vnode, value vserv, value vopts)
if (len == 0) {
node = NULL;
} else {
- node = stat_alloc(len + 1);
+ node = caml_stat_alloc(len + 1);
strcpy(node, String_val(vnode));
}
/* Extract "service" parameter */
@@ -75,7 +75,7 @@ CAMLprim value unix_getaddrinfo(value vnode, value vserv, value vopts)
if (len == 0) {
serv = NULL;
} else {
- serv = stat_alloc(len + 1);
+ serv = caml_stat_alloc(len + 1);
strcpy(serv, String_val(vserv));
}
/* Parse options, set hints */