]> code.delx.au - gnu-emacs/blobdiff - nt/inc/unistd.h
MS-Windows followup to bugfix #13387.
[gnu-emacs] / nt / inc / unistd.h
index 4c5f7d4c124b62868337ade24ee16cc53aa9b521..9c8a64d5ed28c87c9b2bbd796168b1ca7a40000f 100644 (file)
@@ -18,4 +18,18 @@ extern pid_t getpgrp (void);
 extern pid_t setsid (void);
 extern pid_t tcgetpgrp (int);
 
+extern int faccessat (int, char const *, int, int);
+
+/* These are normally on fcntl.h, but we don't override that header.  */
+/* Use values compatible with gnulib, as there's no reason to differ.  */
+#define AT_FDCWD (-3041965)
+#define AT_EACCESS 4
+#define AT_SYMLINK_NOFOLLOW 4096
+
+#define O_NOCTTY 0
+#define O_IGNORE_CTTY 0
+
+/* This is normally on stdlib.h, but we don't override that header.  */
+extern int unsetenv (const char *);
+
 #endif /* _UNISTD_H */