Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 25 lines 612 B view raw
1From 749d9451293f9d9f8a3f506401cae369003aeebf Mon Sep 17 00:00:00 2001 2From: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> 3Date: Sun, 13 Oct 2024 17:16:13 -0400 4Subject: [PATCH] Include db.h for nbdb compat mode 5 6--- 7 lib/otp/otp_db.c | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10diff --git a/lib/otp/otp_db.c b/lib/otp/otp_db.c 11index 036359c1d..32c04bc8c 100644 12--- a/lib/otp/otp_db.c 13+++ b/lib/otp/otp_db.c 14@@ -39,7 +39,7 @@ RCSID("$Id$"); 15 #include "otp_locl.h" 16 17 #if defined(HAVE_DB_NDBM) 18-# include <ndbm.h> 19+# include <db.h> 20 #elif !defined(HAVE_NDBM) 21 # include "ndbm_wrap.h" 22 #endif 23-- 242.46.0 25