1
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2025-07-29 03:01:54 -07:00

core: Include cstring whenever strncpy is used ()

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

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