X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=lib%2Fcompat.c;h=7c4e346e0cafba9924a824a8b04150f10a80ec39;hb=fed9094cd8cda69605d0c103acd14308379b6eb0;hp=b00bea1c2b531f475c15febc83081011bc0de040;hpb=7636505962a348d9564e53922834dc6df1274653;p=libradsec.git diff --git a/lib/compat.c b/lib/compat.c index b00bea1..7c4e346 100644 --- a/lib/compat.c +++ b/lib/compat.c @@ -1,3 +1,10 @@ +/* Copyright 2011 NORDUnet A/S. All rights reserved. + See LICENSE for licensing information. */ + +#if defined HAVE_CONFIG_H +#include +#endif + #include #include #include "compat.h" @@ -7,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); +}