From a5c9b3e49047b4f03f79c5146d8925363eab3072 Mon Sep 17 00:00:00 2001
From: Zach DeCook <zachdecook@librem.one>
Date: Thu, 15 May 2025 05:31:44 -0400
Subject: [PATCH] core: Include cstring whenever strncpy is used (#10404)

Fixes ppc64le build in alpine
---
 hyprpm/src/core/HyprlandSocket.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hyprpm/src/core/HyprlandSocket.cpp b/hyprpm/src/core/HyprlandSocket.cpp
index 4d86192c7..50b3558c6 100644
--- a/hyprpm/src/core/HyprlandSocket.cpp
+++ b/hyprpm/src/core/HyprlandSocket.cpp
@@ -5,6 +5,7 @@
 #include <print>
 #include <sys/un.h>
 #include <unistd.h>
+#include <cstring>
 
 static int getUID() {
     const auto UID   = getuid();