Add an opaque pointer to watch_info

Used on FreeBSD to hold a pointer to the kevent struct.
This commit is contained in:
Julien BLACHE 2010-01-09 13:45:33 +01:00
parent 5681793534
commit 9695c11186

View File

@ -200,6 +200,10 @@ struct watch_info {
char *path;
uint32_t cookie;
int libidx;
#if defined(__FreeBSD__)
void *priv;
#endif
};
#define wi_offsetof(field) offsetof(struct watch_info, field)