Ready for libradsec-0.0.5.
[radsecproxy.git] / lib / compat.c
index fa075a1..7c4e346 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+   See LICENSE for licensing information. */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
@@ -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);
+}