From e13de2013749961edaa126697f3290d3dca91823 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Fri, 14 Nov 2025 13:11:52 +0100 Subject: [PATCH] feat(udp): Allow changing UDP_DATAGRAMSIZE at compile time (#452) --- src/udp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/udp.h b/src/udp.h index 07d5247..cc14619 100644 --- a/src/udp.h +++ b/src/udp.h @@ -17,7 +17,9 @@ #include "timeout.h" #include "socket.h" +#ifndef UDP_DATAGRAMSIZE #define UDP_DATAGRAMSIZE 8192 +#endif typedef struct t_udp_ { t_socket sock;