From 51c69c91a5c0630a8e930ee5aba5cb754cd98f27 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Mon, 25 Oct 2021 19:09:59 +0530
Subject: [PATCH 1/2] libdb: Fix unknown type sigset_t error in MinGW

sigset_t is not avaiable in Win32 platform

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 libdb/bt_open.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libdb/bt_open.c b/libdb/bt_open.c
index e2d8a19..ec960be 100644
--- a/libdb/bt_open.c
+++ b/libdb/bt_open.c
@@ -402,7 +402,9 @@ nroot(t)
 static int
 tmp(void)
 {
+#ifndef _WIN32
        sigset_t set, oset;
+#endif
        int fd;
        char *envtmp;
        char path[1024];
-- 
2.33.0

Reply via email to