aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_recv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_recv.h')
-rw-r--r--src/os/unix/ngx_recv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/os/unix/ngx_recv.h b/src/os/unix/ngx_recv.h
new file mode 100644
index 000000000..e92832cc7
--- /dev/null
+++ b/src/os/unix/ngx_recv.h
@@ -0,0 +1,10 @@
+#ifndef _NGX_RECV_H_INCLUDED_
+#define _NGX_RECV_H_INCLUDED_
+
+
+#include <errno.h>
+
+#define ngx_recv(fd, buf, size, flags) recv(fd, buf, size, flags)
+
+
+#endif /* _NGX_RECV_H_INCLUDED_ */