mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
fix(test): guard the POSIX-only includes in the gitignore test
sys/wait.h does not exist on the Windows toolchain, so the unguarded include broke the Windows test build outright — the suites never ran. The test body is already skipped on Windows, so the includes belong behind the same guard, as test_cypher.c does for the same pair. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
This commit is contained in:
1 parent
c6478790d8
commit
52303157bf
1 file changed
+3
-1
@@ -7,8 +7,10 @@
|
||||
#include "test_framework.h"
|
||||
#include "discover/discover.h"
|
||||
#include <string.h> /* strdup (test seam) */
|
||||
#ifndef _WIN32
|
||||
#include <sys/wait.h> /* fork/waitpid crash-isolation for the backtracking budget */
|
||||
#include <unistd.h>
|
||||
#include <unistd.h> /* alarm() as the liveness backstop */
|
||||
#endif
|
||||
|
||||
/* ── Basic pattern matching ────────────────────────────────────── */
|
||||
|
||||
|
||||
Reference in new issue
Block a user