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:
1 parent
c417304140
commit
d2da61a255
1 file changed
+1
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user