From 3425209431bc438a563efc565d35eb3a8e7c3319 Mon Sep 17 00:00:00 2001 From: y0x0d <212273500+y0x0d@users.noreply.github.com> Date: Mon, 19 May 2025 22:43:13 +0200 Subject: [PATCH] Do not include alloca.h on OpenBSD A define is needed to prevent including alloca.h on OpenBSD, which lacks this header file. Without this q2repro fails to build. --- src/q2proto_internal_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/q2proto_internal_string.h b/src/q2proto_internal_string.h index cbe1e06..29487b6 100644 --- a/src/q2proto_internal_string.h +++ b/src/q2proto_internal_string.h @@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #if !defined(alloca) #define alloca _alloca #endif -#elif !defined(__FreeBSD__) +#elif !defined(__FreeBSD__) && !defined(__OpenBSD__) #include #endif