Subject: [PATCH] missing declaration for image_cache_refcount

From: Pankaj Jangid <[email-masked]>
Date: Thu, 20 Jun 2024 19:17:18 +0700

Tags: patch

Build was failing on macos. Perhaps this declaration was accidently
deleted in a previous commit.

In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.5.0, NS
 appkit-2487.60 Version 14.5 (Build 23F79)) of 2024-06-20 built on
 Pankajs-MacBook-Pro.local
Repository revision: 41cbfead7e2bce2f563e37a9a737a00a7b86e7f1
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.5

>From f823075ef4b05fa701c570885416fc7d1f628520 Mon Sep 17 00:00:00 2001
From: Pankaj Jangid <[email-masked]>
Date: Thu, 20 Jun 2024 19:12:29 +0700
Subject: [PATCH] missing declaration for image_cache_refcount

	* (src/nsfns.m): perhaps this was accidently deleted in a
	previous commit
---
 src/nsfns.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nsfns.m b/src/nsfns.m
index d9c1296056c..e2c000791d0 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -86,7 +86,7 @@ Updated by Christian Limpach ([email-masked])
 /* Static variables to handle AppleScript execution.  */
 static Lisp_Object as_script, *as_result;
 static int as_status;
-
+static ptrdiff_t image_cache_refcount;
 static struct ns_display_info *ns_display_info_for_name (Lisp_Object);
 
 /* ==========================================================================
-- 
2.45.2