1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-02-10 16:08:31 +00:00

Fix build with BUILD_BUILTIN_CONFIG=OFF.

This commit is contained in:
Brenden Matthews 2019-01-09 08:34:43 -05:00
parent e834782ddb
commit aa2de72541

View File

@ -135,17 +135,17 @@
#include <bsd/bsd.h> #include <bsd/bsd.h>
#endif #endif
#ifdef BUILD_BUILTIN_CONFIG
#include "defconfig.h"
#ifdef BUILD_OLD_CONFIG #ifdef BUILD_OLD_CONFIG
#include "convertconf.h" #include "convertconf.h"
#endif #endif /* BUILD_OLD_CONFIG */
#ifdef BUILD_BUILTIN_CONFIG
#include "defconfig.h"
namespace { namespace {
const char builtin_config_magic[] = "==builtin=="; const char builtin_config_magic[] = "==builtin==";
} // namespace } // namespace
#endif #endif /* BUILD_BUILTIN_CONFIG */
#ifndef S_ISSOCK #ifndef S_ISSOCK
#define S_ISSOCK(x) ((x & S_IFMT) == S_IFSOCK) #define S_ISSOCK(x) ((x & S_IFMT) == S_IFSOCK)