diff options
| author | Liam Mitchell <[email protected]> | 2025-03-05 02:33:21 +0000 |
|---|---|---|
| committer | Liam Mitchell <[email protected]> | 2025-03-05 02:33:21 +0000 |
| commit | 2b823aa2088587575f62784c150af75c2535618b (patch) | |
| tree | 54cf2adb63dec15affcdb796335b472d19e06bac /src/zenserver/main.cpp | |
| parent | Initial implementation of service status reporting (diff) | |
| download | zen-2b823aa2088587575f62784c150af75c2535618b.tar.xz zen-2b823aa2088587575f62784c150af75c2535618b.zip | |
Update Linux service type and add libsystemd dependency
Diffstat (limited to 'src/zenserver/main.cpp')
| -rw-r--r-- | src/zenserver/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp index 636e7f6c1..9ae54bdf1 100644 --- a/src/zenserver/main.cpp +++ b/src/zenserver/main.cpp @@ -34,6 +34,10 @@ # include "windows/service.h" #endif +#if ZEN_PLATFORM_LINUX +# include <systemd/sd-daemon.h> +#endif + ////////////////////////////////////////////////////////////////////////// // We don't have any doctest code in this file but this is needed to bring // in some shared code into the executable |