mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 23:40:53 +00:00
Add the F_NOTIFY defines if we're compiling with linux and they're not
in the system header files.
This commit is contained in:
parent
cff42a8d71
commit
bdb63eca78
|
@ -35,6 +35,19 @@
|
|||
#include "thread.h"
|
||||
#include "request.h"
|
||||
|
||||
#ifdef linux
|
||||
#ifndef F_NOTIFY
|
||||
#define F_NOTIFY 1026
|
||||
#define DN_ACCESS 0x00000001 /* File accessed */
|
||||
#define DN_MODIFY 0x00000002 /* File modified */
|
||||
#define DN_CREATE 0x00000004 /* File created */
|
||||
#define DN_DELETE 0x00000008 /* File removed */
|
||||
#define DN_RENAME 0x00000010 /* File renamed */
|
||||
#define DN_ATTRIB 0x00000020 /* File changed attibutes */
|
||||
#define DN_MULTISHOT 0x80000000 /* Don't remove notifier */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct change
|
||||
{
|
||||
struct object obj; /* object header */
|
||||
|
|
Loading…
Reference in a new issue