diff options
| author | Zach DeCook <zachdecook@librem.one> | 2024-08-10 16:09:12 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-10 21:09:12 +0100 |
| commit | 0bf9ceb53b338c79ab65e631877efcf96f53b49a (patch) | |
| tree | 882c44bb89ef3c5902d7d5ccc2c4820d1096f702 /src/helpers/SdDaemon.cpp | |
| parent | 4fdc0d55e4b44bb5300679025d2378fb6de0cae4 (diff) | |
core: Include cstring whenever strncpy is used (#7267)
Fixes ppc64le build in alpine
Diffstat (limited to 'src/helpers/SdDaemon.cpp')
| -rw-r--r-- | src/helpers/SdDaemon.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/SdDaemon.cpp b/src/helpers/SdDaemon.cpp index 25e0ca3b..48c23e6b 100644 --- a/src/helpers/SdDaemon.cpp +++ b/src/helpers/SdDaemon.cpp @@ -8,6 +8,7 @@ #include <sys/socket.h> #include <sys/un.h> #include <string.h> +#include <cstring> namespace Systemd { int SdBooted(void) { |
