mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-02 03:16:47 +02:00
Add option to use elogind
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:

committed by
afayaz-feral

parent
1e8312f7e3
commit
953792b4a5
@@ -36,8 +36,13 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "common-logging.h"
|
||||
#include "common-pidfds.h"
|
||||
|
||||
#ifdef USE_ELOGIND
|
||||
#include <elogind/sd-bus.h>
|
||||
#include <elogind/sd-daemon.h>
|
||||
#else
|
||||
#include <systemd/sd-bus.h>
|
||||
#include <systemd/sd-daemon.h>
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
@@ -17,6 +17,7 @@ gamemoded_includes += config_h_dir
|
||||
gamemoded = executable(
|
||||
'gamemoded',
|
||||
sources: daemon_sources,
|
||||
c_args: elogind_args,
|
||||
dependencies: [
|
||||
link_daemon_common,
|
||||
dep_threads,
|
||||
|
Reference in New Issue
Block a user