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
1 changed files with 4 additions and 0 deletions

View File

@ -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)