Skip to content

Commit aa98dc5

Browse files
committed
rocket: Fix macos builds
1 parent 1b57d3c commit aa98dc5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/rocket/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
#include <UI.h>
44

5+
#ifdef __linux__
56
#include <systemd/sd-daemon.h>
7+
#endif
68

79
using namespace rmlib;
810

@@ -19,7 +21,9 @@ main(int argc, char* argv[]) {
1921
}
2022
}
2123

24+
#ifdef __linux__
2225
sd_notify(0, "READY=1");
26+
#endif
2327

2428
unistdpp::fatalOnError(runApp(LauncherWidget(), {}, /*clearOnExit=*/true));
2529
return EXIT_SUCCESS;

0 commit comments

Comments
 (0)