From fa31e7f6ca3fa09c96f479af7364eb69b8a69673 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 18 Jun 2021 00:49:57 +0200 Subject: src/myself.cpp: Fix libaccounts-glib.h include warning fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/12 --- src/myself.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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 + +#if GLIB_CHECK_VERSION(2, 66, 0) + #include +#else + #include +#endif + #include namespace ayatana { -- cgit v1.2.3