mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-16 04:11:55 -04:00
Add an opaque pointer to watch_info
Used on FreeBSD to hold a pointer to the kevent struct.
This commit is contained in:
parent
5681793534
commit
9695c11186
4
src/db.h
4
src/db.h
@ -200,6 +200,10 @@ struct watch_info {
|
|||||||
char *path;
|
char *path;
|
||||||
uint32_t cookie;
|
uint32_t cookie;
|
||||||
int libidx;
|
int libidx;
|
||||||
|
|
||||||
|
#if defined(__FreeBSD__)
|
||||||
|
void *priv;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#define wi_offsetof(field) offsetof(struct watch_info, field)
|
#define wi_offsetof(field) offsetof(struct watch_info, field)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user