mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-13 19:22:58 +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:
parent
8553e33763
commit
15eb14da5c
@ -24,7 +24,7 @@ ssize_t conf_read(void *cookie, char *buf, size_t size)
|
|||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__) || defined(__FreeBSD_kernel__)
|
||||||
cookie_io_functions_t conf_cookie = {
|
cookie_io_functions_t conf_cookie = {
|
||||||
.read = &conf_read,
|
.read = &conf_read,
|
||||||
.write = NULL,
|
.write = NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user