From ea0190fd7ac7196de137aa805d9cc88c4c6cafb4 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sat, 24 Aug 2024 10:50:08 +0000 Subject: [PATCH] Fix static build on MSVC --- generic/tclZlib.c | 2 +- win/makefile.vc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tclZlib.c b/generic/tclZlib.c index 3651a43b27c..5e4d7273f40 100644 --- a/generic/tclZlib.c +++ b/generic/tclZlib.c @@ -16,7 +16,7 @@ #include "tclInt.h" #ifdef HAVE_ZLIB -#include +#include "zlib.h" #include "tclIO.h" /* diff --git a/win/makefile.vc b/win/makefile.vc index 18dbb198544..f156523f804 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -890,7 +890,7 @@ $(TMP_DIR)\tclUuid.h: $(ROOT)\manifest.uuid copy $(WIN_DIR)\tclUuid.h.in+$(ROOT)\manifest.uuid $(TMP_DIR)\tclUuid.h $(TMP_DIR)\tclEvent.obj: $(GENERICDIR)\tclEvent.c $(TMP_DIR)\tclUuid.h - $(cc32) $(pkgcflags) -I$(TMP_DIR) \ + $(cc32) $(pkgcflags) -I$(COMPATDIR)\zlib -I$(TMP_DIR) \ -Fo$@ $(GENERICDIR)\tclEvent.c $(TMP_DIR)\tclTest.obj: $(GENERICDIR)\tclTest.c $(TMP_DIR)\tclUuid.h