mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 12:27:52 +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;
|
||||
}
|
||||
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__FreeBSD_kernel__)
|
||||
cookie_io_functions_t conf_cookie = {
|
||||
.read = &conf_read,
|
||||
.write = NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user