--- origsrc/unbound-1.19.1/libunbound/libunbound.c 2024-02-21 10:06:14.070706000 +0900 +++ src/unbound-1.19.1/libunbound/libunbound.c 2024-02-21 10:20:57.101941000 +0900 @@ -76,7 +76,7 @@ #include #endif -#if defined(UB_ON_WINDOWS) && defined (HAVE_WINDOWS_H) || defined(__CYGWIN__) +#if defined(UB_ON_WINDOWS) && defined (HAVE_WINDOWS_H) #include #include #endif /* UB_ON_WINDOWS */ @@ -1139,7 +1139,7 @@ ub_ctx_resolvconf(struct ub_ctx* ctx, co } in = fopen(fname, "r"); if(!in) { -#if defined(UB_ON_WINDOWS) || defined(HAVE_WINDOWS_H) || defined(__CYGWIN__) +#if defined(UB_ON_WINDOWS) || defined(HAVE_WINDOWS_H) FIXED_INFO *info; ULONG buflen = sizeof(*info); IP_ADDR_STRING *ptr;