From aa2de72541484bd3a4ec9cc6524e5615d9d721da Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Wed, 9 Jan 2019 08:34:43 -0500 Subject: [PATCH] Fix build with BUILD_BUILTIN_CONFIG=OFF. --- src/conky.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index a448d496..21a64f2c 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -135,17 +135,17 @@ #include #endif -#ifdef BUILD_BUILTIN_CONFIG -#include "defconfig.h" - #ifdef BUILD_OLD_CONFIG #include "convertconf.h" -#endif +#endif /* BUILD_OLD_CONFIG */ + +#ifdef BUILD_BUILTIN_CONFIG +#include "defconfig.h" namespace { const char builtin_config_magic[] = "==builtin=="; } // namespace -#endif +#endif /* BUILD_BUILTIN_CONFIG */ #ifndef S_ISSOCK #define S_ISSOCK(x) ((x & S_IFMT) == S_IFSOCK)