1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-02-05 13:38:33 +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>
#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)