Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ endif
ifeq ($(HAVE_LAKKA), 1)
OBJ += network/drivers_wifi/connmanctl.o
OBJ += misc/cpufreq/cpufreq.o
LIBS += -lsystemd
endif

ifeq ($(HAVE_WIFI), 1)
Expand Down
4 changes: 4 additions & 0 deletions retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@

#ifdef HAVE_LAKKA
#include "lakka.h"
#include <systemd/sd-daemon.h>
#endif

#define _PSUPP(var, name, desc) printf(" %s:\n\t\t%s: %s\n", name, desc, var ? "yes" : "no")
Expand Down Expand Up @@ -6144,6 +6145,9 @@ int rarch_main(int argc, char *argv[], void *data)
if (settings->uints.cloud_sync_sync_mode == CLOUD_SYNC_MODE_AUTOMATIC)
task_push_cloud_sync();
#endif
#ifdef HAVE_LAKKA
sd_notify(0, "READY=1");
#endif
#if !defined(HAVE_MAIN) || defined(HAVE_QT)
for (;;)
{
Expand Down
Loading