mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-10 07:59:03 +00:00
Minor build fix.
This commit is contained in:
parent
72bbe51a8c
commit
4d7d2b27f3
@ -27,6 +27,9 @@
|
|||||||
|
|
||||||
#cmakedefine HAVE_STRNDUP 1
|
#cmakedefine HAVE_STRNDUP 1
|
||||||
|
|
||||||
|
#cmakedefine HAVE_FOPENCOOKIE 1
|
||||||
|
#cmakedefine HAVE_FUNOPEN 1
|
||||||
|
|
||||||
#cmakedefine BUILD_X11 1
|
#cmakedefine BUILD_X11 1
|
||||||
#ifdef BUILD_X11
|
#ifdef BUILD_X11
|
||||||
#define X11
|
#define X11
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#define COOKIE_RET_T int
|
#define COOKIE_RET_T int
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_FOPENCOOKIE) || defined(HAVE_FUNOPEN)
|
||||||
static COOKIE_RET_T
|
static COOKIE_RET_T
|
||||||
conf_read(void *cookie, char *buf, COOKIE_LEN_T size)
|
conf_read(void *cookie, char *buf, COOKIE_LEN_T size)
|
||||||
{
|
{
|
||||||
@ -57,6 +58,7 @@ conf_read(void *cookie, char *buf, COOKIE_LEN_T size)
|
|||||||
}
|
}
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
#endif /* defined(HAVE_FOPENCOOKIE) || defined(HAVE_FUNOPEN) */
|
||||||
|
|
||||||
#if defined(HAVE_FOPENCOOKIE)
|
#if defined(HAVE_FOPENCOOKIE)
|
||||||
static cookie_io_functions_t conf_cookie = {
|
static cookie_io_functions_t conf_cookie = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user