From f9c817680d5a725a900e5e5a0aa83ca194faeb11 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Thu, 9 Sep 2021 03:34:55 -0400 Subject: [PATCH] [build] define rsize_t on FreeBSD (unsure why lighttpd CI CMake build has rsize_t defined, but not autotools or SCons lighttpd CI builds) --- src/ck.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ck.h b/src/ck.h index 3c896789..4639ae89 100644 --- a/src/ck.h +++ b/src/ck.h @@ -14,6 +14,10 @@ #endif #include "first.h" #ifdef __FreeBSD__ +#ifndef _RSIZE_T_DEFINED /* expecting __EXT1_VISIBLE 1 and _RSIZE_T_DEFINED */ +#define _RSIZE_T_DEFINED +typedef size_t rsize_t; +#endif #include #endif