summaryrefslogtreecommitdiff
path: root/src/xwayland/Server.cpp
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2024-08-10 16:09:12 -0400
committerGitHub <noreply@github.com>2024-08-10 21:09:12 +0100
commit0bf9ceb53b338c79ab65e631877efcf96f53b49a (patch)
tree882c44bb89ef3c5902d7d5ccc2c4820d1096f702 /src/xwayland/Server.cpp
parent4fdc0d55e4b44bb5300679025d2378fb6de0cae4 (diff)
core: Include cstring whenever strncpy is used (#7267)
Fixes ppc64le build in alpine
Diffstat (limited to 'src/xwayland/Server.cpp')
-rw-r--r--src/xwayland/Server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xwayland/Server.cpp b/src/xwayland/Server.cpp
index cec582f6..200bec70 100644
--- a/src/xwayland/Server.cpp
+++ b/src/xwayland/Server.cpp
@@ -19,6 +19,7 @@
#include <sys/un.h>
#include <unistd.h>
#include <filesystem>
+#include <cstring>
// TODO: cleanup
static bool set_cloexec(int fd, bool cloexec) {