mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
20 lines
577 B
Diff
20 lines
577 B
Diff
commit 301e6cc72acbfb53e3460ac98757aac0bd041ba9
|
|
Author: Zach DeCook <zachdecook@librem.one>
|
|
Date: Sat Aug 10 16:09:12 2024 -0400
|
|
|
|
core: Include cstring whenever strncpy is used
|
|
|
|
Fixes ppc64le build in alpine
|
|
|
|
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();
|