Old kernel headers don't define this flag, so we do it ourselves in that case.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47445 Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/ntdll/directory.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c index b50d41b..e3f805a 100644 --- a/dlls/ntdll/directory.c +++ b/dlls/ntdll/directory.c @@ -142,6 +142,10 @@ typedef struct # define O_DIRECTORY 0200000 /* must be directory */ #endif
+#ifndef AT_NO_AUTOMOUNT +#define AT_NO_AUTOMOUNT 0x800 +#endif + #endif /* linux */
#define IS_OPTION_TRUE(ch) ((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1')