fix miss header for strlen
Some checks failed
rpcrypto-build / build (Debug, host.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Debug, mips64el-linux-gnuabi64.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, hisiv500.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, host-afl.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, host.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, mips64el-linux-gnuabi64.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Failing after 36s
rpcrypto-build / build (Debug, hisiv500.toolchain.cmake) (push) Failing after 34s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Debug, host-afl.toolchain.cmake) (push) Has been cancelled

This commit is contained in:
tqcq 2023-12-05 11:48:17 +08:00
parent 1329409656
commit f75f425466

View File

@ -4,6 +4,7 @@
#include <string> #include <string>
#include <ulib/log/log.h> #include <ulib/log/log.h>
#include <string.h>
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
ULOG_SET_STRIPPED_PREFIX_LEN(strlen(__FILE__) - strlen("src/main.cpp")); ULOG_SET_STRIPPED_PREFIX_LEN(strlen(__FILE__) - strlen("src/main.cpp"));