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…
Reference in New Issue