1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-06-10 03:02:20 +00:00

Minor build fix.

This commit is contained in:
Brenden Matthews 2010-01-01 13:45:16 -08:00
parent 72bbe51a8c
commit 4d7d2b27f3
2 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,9 @@
#cmakedefine HAVE_STRNDUP 1
#cmakedefine HAVE_FOPENCOOKIE 1
#cmakedefine HAVE_FUNOPEN 1
#cmakedefine BUILD_X11 1
#ifdef BUILD_X11
#define X11

View File

@ -36,6 +36,7 @@
#define COOKIE_RET_T int
#endif
#if defined(HAVE_FOPENCOOKIE) || defined(HAVE_FUNOPEN)
static COOKIE_RET_T
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;
}
#endif /* defined(HAVE_FOPENCOOKIE) || defined(HAVE_FUNOPEN) */
#if defined(HAVE_FOPENCOOKIE)
static cookie_io_functions_t conf_cookie = {