aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/snap.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 10:40:44 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 10:40:44 +0000
commitf54505942ce2dcc73fcbad79d4f5cdce991bf8cb (patch)
tree9aab8e9b612adfff946a93365cd0d2fea9aeb74c /include/datetime/snap.h
parent4a6ec712275b179decd1844232dce44bc9f9dc19 (diff)
downloadayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.tar.gz
ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.tar.bz2
ayatana-indicator-datetime-f54505942ce2dcc73fcbad79d4f5cdce991bf8cb.zip
Make the datetime indicator build on non-Ubuntu systems (which mostly lack url-dispatcher and Ubuntu Touch sound schema files.
Diffstat (limited to 'include/datetime/snap.h')
-rw-r--r--include/datetime/snap.h4
1 files changed, 4 insertions, 0 deletions
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 <datetime/appointment.h>
#include <datetime/settings.h>
@@ -57,4 +59,6 @@ private:
} // namespace indicator
} // namespace ayatana
+#endif // HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS
+
#endif // INDICATOR_DATETIME_SNAP_H