summaryrefslogtreecommitdiff
path: root/lib/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat.c')
-rw-r--r--lib/compat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/compat.c b/lib/compat.c
index fa075a1..ccc6388 100644
--- a/lib/compat.c
+++ b/lib/compat.c
@@ -14,3 +14,9 @@ compat_send (int sockfd, const void *buf, size_t len, int flags)
{
return send (sockfd, buf, len, flags);
}
+
+ssize_t
+compat_recv (int sockfd, void *buf, size_t len, int flags)
+{
+ return recv (sockfd, buf, len, flags);
+}