diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-27 07:25:01 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-27 07:25:01 +0200 |
commit | 00cb60a120a4ddaa00cd8b2852b8d88e0a999261 (patch) | |
tree | 02b47849eded21d3e690f4da5adc22b53150f2b6 | |
parent | ebeb2901db403160d32598a3ff37fb8e3fe16f0d (diff) | |
parent | fa31e7f6ca3fa09c96f479af7364eb69b8a69673 (diff) | |
download | ayatana-indicator-datetime-00cb60a120a4ddaa00cd8b2852b8d88e0a999261.tar.gz ayatana-indicator-datetime-00cb60a120a4ddaa00cd8b2852b8d88e0a999261.tar.bz2 ayatana-indicator-datetime-00cb60a120a4ddaa00cd8b2852b8d88e0a999261.zip |
Merge branch 'tari01-pr/fix-libaccounts-glib-include-warning'
Attributes GH PR #39: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/39
-rw-r--r-- | src/myself.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/myself.cpp b/src/myself.cpp index ca0c5e9..9c02054 100644 --- a/src/myself.cpp +++ b/src/myself.cpp @@ -18,7 +18,13 @@ */ #include "datetime/myself.h" -#include <libaccounts-glib/accounts-glib.h> + +#if GLIB_CHECK_VERSION(2, 66, 0) + #include <libaccounts-glib.h> +#else + #include <libaccounts-glib/accounts-glib.h> +#endif + #include <algorithm> namespace ayatana { |