build: include <cstring> in asm_test.cc

std::strcmp needs it; MSVC pulls it in transitively so the Windows build never
noticed, but GCC 16 rejects the file.  Found while trying to build a 32 bit
toolchain on a Linux box to time the %synth cache.
This commit is contained in:
dsh committed 2026-11-19 12:27:51 +08:00
1 parent c417304140
commit d2da61a255
1 file changed
+1
+1
View File
@@ -21,6 +21,7 @@
#include "r8forge/tape_opt.hh"
#include <cerrno>
#include <cstdlib>
#include <cstring> // std::strcmp -- MSVC pulls it in transitively, GCC does not
#include <iostream>
#include <string>