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:
parent
e834782ddb
commit
aa2de72541
10
src/conky.cc
10
src/conky.cc
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user