summaryrefslogtreecommitdiff
path: root/hyprpm/src/core/HyprlandSocket.cpp
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2025-05-15 05:31:44 -0400
committerGitHub <noreply@github.com>2025-05-15 10:31:44 +0100
commita5c9b3e49047b4f03f79c5146d8925363eab3072 (patch)
tree88151f5d52e5281d4b8a8528ae6da7dac4e8ba6a /hyprpm/src/core/HyprlandSocket.cpp
parentdfb841c303263208c2f8ac7a55fbdf4668594fb7 (diff)
core: Include cstring whenever strncpy is used (#10404)
Fixes ppc64le build in alpine
Diffstat (limited to 'hyprpm/src/core/HyprlandSocket.cpp')
-rw-r--r--hyprpm/src/core/HyprlandSocket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/hyprpm/src/core/HyprlandSocket.cpp b/hyprpm/src/core/HyprlandSocket.cpp
index 4d86192c..50b3558c 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();