From 039b42ad53df30debc7939c157e350eb9882f8ab Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Fri, 8 May 2026 22:46:29 -0700 Subject: [PATCH] fix build (#684) --- src/spice2x/acioemu/device.h | 1 + src/spice2x/build_docker.bat | 4 ++-- src/spice2x/external/headsocket.h | 1 + src/spice2x/external/robin_hood.h | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/spice2x/acioemu/device.h b/src/spice2x/acioemu/device.h index 3bd0fcc..aae1788 100644 --- a/src/spice2x/acioemu/device.h +++ b/src/spice2x/acioemu/device.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include "util/circular_buffer.h" diff --git a/src/spice2x/build_docker.bat b/src/spice2x/build_docker.bat index 7072a75..b30e50b 100644 --- a/src/spice2x/build_docker.bat +++ b/src/spice2x/build_docker.bat @@ -1,7 +1,7 @@ docker build --pull external/docker -t spicetools/deps docker build --build-context gitroot=%cd%/../../.git . -t spicetools/spice -docker run --rm -it -v %cd%/dist:/src/src/spice2x/dist -v %cd%/bin:/src/src/spice2x/bin -v %cd%/.ccache:/src/src/spice2x/.ccache spicetools/spice %* +docker run --rm -i -v %cd%/dist:/src/src/spice2x/dist -v %cd%/bin:/src/src/spice2x/bin -v %cd%/.ccache:/src/src/spice2x/.ccache spicetools/spice %* @REM to generate PDBs, set DEBUG to 1 in build_all.sh, place cv2pdb in external\cv2pdb, and run below @REM external\cv2pdb\cv2pdb.exe bin\spice2x\spicecfg.exe bin\spice2x\spicecfg-pdb.exe bin\spice2x\spicecfg-pdb.pdb @REM external\cv2pdb\cv2pdb.exe bin\spice2x\spice.exe bin\spice2x\spice-pdb.exe bin\spice2x\spice-pdb.pdb -@REM external\cv2pdb\cv2pdb.exe bin\spice2x\spice64.exe bin\spice2x\spice64-pdb.exe bin\spice2x\spice64-pdb.pdb \ No newline at end of file +@REM external\cv2pdb\cv2pdb.exe bin\spice2x\spice64.exe bin\spice2x\spice64-pdb.exe bin\spice2x\spice64-pdb.pdb diff --git a/src/spice2x/external/headsocket.h b/src/spice2x/external/headsocket.h index 9ad98fe..e96a349 100644 --- a/src/spice2x/external/headsocket.h +++ b/src/spice2x/external/headsocket.h @@ -20,6 +20,7 @@ Usage: #include #include #include +#include /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/spice2x/external/robin_hood.h b/src/spice2x/external/robin_hood.h index 48ae0b6..d6baf80 100644 --- a/src/spice2x/external/robin_hood.h +++ b/src/spice2x/external/robin_hood.h @@ -39,6 +39,7 @@ #define ROBIN_HOOD_VERSION_PATCH 2 // for backwards-compatible bug fixes #include +#include #include #include #include