aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl
diff options
context:
space:
mode:
authorZach DeCook <[email protected]>2024-08-10 16:09:12 -0400
committerGitHub <[email protected]>2024-08-10 21:09:12 +0100
commit0bf9ceb53b338c79ab65e631877efcf96f53b49a (patch)
tree882c44bb89ef3c5902d7d5ccc2c4820d1096f702 /hyprctl
parent4fdc0d55e4b44bb5300679025d2378fb6de0cae4 (diff)
downloadHyprland-0bf9ceb53b338c79ab65e631877efcf96f53b49a.tar.gz
Hyprland-0bf9ceb53b338c79ab65e631877efcf96f53b49a.zip
core: Include cstring whenever strncpy is used (#7267)
Fixes ppc64le build in alpine
Diffstat (limited to 'hyprctl')
-rw-r--r--hyprctl/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index c86406fc..5d5113b8 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -26,6 +26,7 @@
#include <regex>
#include <sys/socket.h>
#include <hyprutils/string/String.hpp>
+#include <cstring>
using namespace Hyprutils::String;
#include "Strings.hpp"