From f54505942ce2dcc73fcbad79d4f5cdce991bf8cb Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 8 Dec 2017 10:40:44 +0000 Subject: Make the datetime indicator build on non-Ubuntu systems (which mostly lack url-dispatcher and Ubuntu Touch sound schema files. --- include/datetime/snap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/datetime/snap.h') diff --git a/include/datetime/snap.h b/include/datetime/snap.h index a34f0fa..549e0e7 100644 --- a/include/datetime/snap.h +++ b/include/datetime/snap.h @@ -20,6 +20,8 @@ #ifndef INDICATOR_DATETIME_SNAP_H #define INDICATOR_DATETIME_SNAP_H +#ifdef HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS + #include #include @@ -57,4 +59,6 @@ private: } // namespace indicator } // namespace ayatana +#endif // HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS + #endif // INDICATOR_DATETIME_SNAP_H -- cgit v1.2.3