Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

test: include Windows CRT headers directly

astandrikf50434eddfde
diff --git a/tests/test_main.c b/tests/test_main.c
index 4aec2c266..e66b309de 100644
--- a/tests/test_main.c
+++ b/tests/test_main.c
@@ -34,6 +34,8 @@ int tf_skip_count = 0;
#include <string.h>
#include <signal.h>
#ifdef _WIN32
+#include <fcntl.h>
+#include <io.h>
#include <winsock2.h> /* #798 follow-up: socket-isolation re-exec probe */
#include <windows.h>
#else