From ca3574436b11c01fcaec278bb444fa8a2d6806e5 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 18 Apr 2021 11:02:19 -0500 Subject: [PATCH] Minor build fix, but do it right. --- src/conky.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.h b/src/conky.h index dc176bc9..1122b0a3 100644 --- a/src/conky.h +++ b/src/conky.h @@ -301,9 +301,9 @@ void set_updatereset(int); int get_updatereset(void); int get_total_updates(void); -#ifdef BUILD_XFT +#if defined(BUILD_X11) && defined(BUILD_XFT) static int xft_dpi; -#endif /* BUILD_XFT */ +#endif /* defined(BUILD_X11) && defined(BUILD_XFT) */ int xft_dpi_scale(int value); int get_saved_coordinates_x(int);