core: Include cstring whenever strncpy is used (#10404)
Fixes ppc64le build in alpine
This commit is contained in:
parent
dfb841c303
commit
a5c9b3e490
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue