summaryrefslogtreecommitdiff
path: root/lib/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat.c')
-rw-r--r--lib/compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compat.c b/lib/compat.c
index 731c071..b00bea1 100644
--- a/lib/compat.c
+++ b/lib/compat.c
@@ -1,8 +1,9 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include "compat.h"
ssize_t
compat_send (int sockfd, const void *buf, size_t len, int flags)
{
- compat_send (int sockfd, const void *buf, size_t len, int flags);
+ return send (sockfd, buf, len, flags);
}