aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/myself.cpp7
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>