diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers/SdDaemon.cpp | 1 | ||||
| -rw-r--r-- | src/managers/EventManager.cpp | 1 | ||||
| -rw-r--r-- | src/xwayland/Server.cpp | 1 |
3 files changed, 3 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) { diff --git a/src/managers/EventManager.cpp b/src/managers/EventManager.cpp index 75c98e2a..079a6b68 100644 --- a/src/managers/EventManager.cpp +++ b/src/managers/EventManager.cpp @@ -8,6 +8,7 @@ #include <sys/types.h> #include <sys/un.h> #include <unistd.h> +#include <cstring> CEventManager::CEventManager() { m_iSocketFD = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); 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) { |
