summaryrefslogtreecommitdiff
path: root/net/bind916/patches/patch-lib_ns_include_ns_client.h
blob: 02a50cff32f43954a4350bff04afedf6c02f1e8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-lib_ns_include_ns_client.h,v 1.1 2020/08/09 15:20:22 taca Exp $

* Take from NetBSD base.

--- lib/ns/include/ns/client.h.orig	2020-05-06 09:59:35.000000000 +0000
+++ lib/ns/include/ns/client.h
@@ -271,7 +271,7 @@ struct ns_client {
  */
 #define NS_FAILCACHE_CD 0x01
 
-#if defined(_WIN32) && !defined(_WIN64)
+#if (defined(_WIN32) && !defined(_WIN64)) || !defined(_LP64)
 LIBNS_EXTERNAL_DATA extern atomic_uint_fast32_t ns_client_requests;
 #else  /* if defined(_WIN32) && !defined(_WIN64) */
 LIBNS_EXTERNAL_DATA extern atomic_uint_fast64_t ns_client_requests;