[PATCH 1/2] libdb: Fix unknown type sigset_t error in MinGW
Biswapriyo Nath <[email protected]> Mon, 25 Oct 2021 19:17:07 +0530
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CALK-3mK37RzquJe1CxiCOq3oQ5gmk7i4s-bSLqXX2P8vREa92g@mail.gmail.com> |
0001-libdb-Fix-unknown-type-sigset_t-error-in-MinGW.patch
(text/plain, 663 B)
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