diff options
author | Robert Tari <robert@tari.in> | 2021-07-15 02:57:23 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-15 02:57:23 +0200 |
commit | 7b495005c1998aaf148c17ceb4f5576835d87ba2 (patch) | |
tree | 68f376e40beed24b3ab7c56af2f6e4418c4bac2d /src | |
parent | 2f386057f526b2a42eba662c5ed3dca7447f12cd (diff) | |
download | ayatana-indicator-datetime-7b495005c1998aaf148c17ceb4f5576835d87ba2.tar.gz ayatana-indicator-datetime-7b495005c1998aaf148c17ceb4f5576835d87ba2.tar.bz2 ayatana-indicator-datetime-7b495005c1998aaf148c17ceb4f5576835d87ba2.zip |
src/myself.cpp: Fix libaccounts-glib.h inclusion in Focal
Diffstat (limited to 'src')
-rw-r--r-- | src/myself.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/myself.cpp b/src/myself.cpp index 0debfe4..ae2f061 100644 --- a/src/myself.cpp +++ b/src/myself.cpp @@ -19,7 +19,12 @@ #include "datetime/myself.h" -#include <libaccounts-glib.h> +#if GLIB_CHECK_VERSION(2, 66, 0) + #include <libaccounts-glib.h> +#else + #include <libaccounts-glib/accounts-glib.h> +#endif + #include <libaccounts-glib/ag-account.h> #include <algorithm> |