1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

conf_cookie is there for kFreeBSD as well

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
This commit is contained in:
Nikos Ntarmos 2009-05-29 18:19:50 +03:00 committed by Brenden Matthews
parent 8553e33763
commit 15eb14da5c

View File

@ -24,7 +24,7 @@ ssize_t conf_read(void *cookie, char *buf, size_t size)
return i;
}
#if defined(__linux__)
#if defined(__linux__) || defined(__FreeBSD_kernel__)
cookie_io_functions_t conf_cookie = {
.read = &conf_read,
.write = NULL,