From b3f6f4c1252b5f79448b6cef77db1f22dfafdd2d Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 7 Jan 2023 10:45:37 +1100 Subject: [PATCH] base: include config.h Solaris requires __EXTENSIONS__ to be defined before including string.h so that the strnlen() prototype is visible --- lib/base/db.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/base/db.c b/lib/base/db.c index 794b12bbb8..e6f6af41a2 100644 --- a/lib/base/db.c +++ b/lib/base/db.c @@ -47,6 +47,8 @@ * memory-based rollback log is used). */ +#include "config.h" + #include #include #include -- 2.34.1