diff options
-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 { |