summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/recv.c')
-rw-r--r--lib/libc/net/recv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/net/recv.c b/lib/libc/net/recv.c
index 65ec9d4..6d4ac0e 100644
--- a/lib/libc/net/recv.c
+++ b/lib/libc/net/recv.c
@@ -29,16 +29,20 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)recv.c 8.2 (Berkeley) 2/21/94";
#endif /* LIBC_SCCS and not lint */
+#include "namespace.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <stddef.h>
+#include "un-namespace.h"
ssize_t
recv(s, buf, len, flags)
@@ -46,5 +50,5 @@ recv(s, buf, len, flags)
size_t len;
void *buf;
{
- return (recvfrom(s, buf, len, flags, NULL, 0));
+ return (_recvfrom(s, buf, len, flags, NULL, 0));
}
OpenPOWER on IntegriCloud