Skip to content

Commit

Permalink
[powerkey] Include system-ui dbus constants
Browse files Browse the repository at this point in the history
The powerkey module used to use hard-coded device lock D-Bus API
strings. Now that symbolic names are used, the include file where
the constants are defined needs to be included.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Jan 31, 2017
1 parent bccf87c commit ab1f289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .depend
Expand Up @@ -961,6 +961,7 @@ powerkey.o:\
mce.h\
modules/doubletap.h\
powerkey.h\
systemui/dbus-names.h\
tklock.h\

powerkey.pic.o:\
Expand All @@ -978,6 +979,7 @@ powerkey.pic.o:\
mce.h\
modules/doubletap.h\
powerkey.h\
systemui/dbus-names.h\
tklock.h\

tests/ut/ut_display.o:\
Expand Down
2 changes: 2 additions & 0 deletions powerkey.c
Expand Up @@ -35,6 +35,8 @@

#include "modules/doubletap.h"

#include "systemui/dbus-names.h"

#ifdef ENABLE_WAKELOCKS
# include "libwakelock.h"
#endif
Expand Down

0 comments on commit ab1f289

Please sign in to comment.