From 8ae31ec8beed4d27d214539d2369a1d86d3071f3 Mon Sep 17 00:00:00 2001 From: zoff99 Date: Tue, 20 Feb 2024 16:41:41 +0100 Subject: [PATCH] change define to NetBSD --- toxcore/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxcore/network.c b/toxcore/network.c index 9b84ba3566..e19cac865d 100644 --- a/toxcore/network.c +++ b/toxcore/network.c @@ -1181,7 +1181,7 @@ Networking_Core *new_networking_ex( */ int n = 1024 * 1024 * 2; -#if !defined(__FreeBSD__) +#if !(defined(__NetBSD__)) if (net_setsockopt(ns, temp->sock, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n)) != 0) { LOGGER_ERROR(log, "failed to set socket option %d", SO_RCVBUF); }