diff -ur freetype-2.13.0/src/gzip/ftgzip.c freetype-src/src/gzip/ftgzip.c
--- freetype-2.13.0/src/gzip/ftgzip.c	Sat Feb 04 23:00:05 2023
+++ freetype-src/src/gzip/ftgzip.c	Sat Feb 11 08:39:27 2023
@@ -75,6 +75,12 @@
 #define ZEXTERN      static
 #endif
 
+/* In TeX Live, we use the same linking as above for Windows */
+#if defined( _WIN32 )
+#define ZEXPORT
+#define ZEXTERN      static
+#endif
+
 #define HAVE_MEMCPY  1
 #define Z_SOLO       1
 #define Z_FREETYPE   1
