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

Fixes ppc64le build in alpine
This commit is contained in:
Zach DeCook 2024-08-10 16:09:12 -04:00 committed by GitHub
parent 4fdc0d55e4
commit 0bf9ceb53b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,7 @@
#include <sys/types.h>
#include <sys/un.h>
#include <unistd.h>
#include <cstring>
CEventManager::CEventManager() {
m_iSocketFD = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0);