core: Include cstring whenever strncpy is used (#10404)

Fixes ppc64le build in alpine
This commit is contained in:
Zach DeCook 2025-05-15 05:31:44 -04:00 committed by GitHub
parent dfb841c303
commit a5c9b3e490
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
#include <print> #include <print>
#include <sys/un.h> #include <sys/un.h>
#include <unistd.h> #include <unistd.h>
#include <cstring>
static int getUID() { static int getUID() {
const auto UID = getuid(); const auto UID = getuid();