]> code.delx.au - gnu-emacs/blobdiff - nt/inc/unistd.h
Avoid compiler warnings in the MS-Windows build.
[gnu-emacs] / nt / inc / unistd.h
index 7db6cf08bea496a5d5875d546d902d5ce48e36b1..7cab27b325fab7f137821e89e724b121c92d3042 100644 (file)
@@ -8,7 +8,14 @@
    <unistd.h> also includes <stdlib.h>, so there's no need to declare
    'environ' here.  */
 
+/* Privide prototypes of library functions that are emulated on w32
+   and whose prototypes are usually found in unistd.h on Posix
+   platforms.  */
 extern ssize_t readlink (const char *, char *, size_t);
 extern int symlink (char const *, char const *);
+extern int setpgid (pid_t, pid_t);
+extern pid_t getpgrp (void);
+extern pid_t setsid (void);
+extern pid_t tcgetpgrp (int);
 
 #endif /* _UNISTD_H */