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
4 changed files with 4 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
#include <regex>
#include <sys/socket.h>
#include <hyprutils/string/String.hpp>
#include <cstring>
using namespace Hyprutils::String;
#include "Strings.hpp"