diff options
Diffstat (limited to 'lib-src/ntlib.h')
| -rw-r--r-- | lib-src/ntlib.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h index 3e48d2997e0..ab5f5ea3b89 100644 --- a/lib-src/ntlib.h +++ b/lib-src/ntlib.h | |||
| @@ -22,6 +22,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | /* Include these headers now so we don't have to worry about include | 22 | /* Include these headers now so we don't have to worry about include |
| 23 | order dependencies in common source files. */ | 23 | order dependencies in common source files. */ |
| 24 | #include <direct.h> | 24 | #include <direct.h> |
| 25 | #include <fcntl.h> | ||
| 25 | #include <io.h> | 26 | #include <io.h> |
| 26 | #include <stdio.h> | 27 | #include <stdio.h> |
| 27 | 28 | ||
| @@ -41,6 +42,7 @@ int setuid (unsigned uid); | |||
| 41 | int setregid (unsigned rgid, unsigned gid); | 42 | int setregid (unsigned rgid, unsigned gid); |
| 42 | char * getpass (const char * prompt); | 43 | char * getpass (const char * prompt); |
| 43 | int fchown (int fd, unsigned uid, unsigned gid); | 44 | int fchown (int fd, unsigned uid, unsigned gid); |
| 45 | int mkostemp (char * template, int flags); | ||
| 44 | 46 | ||
| 45 | /* redirect or undo interceptions created by config.h */ | 47 | /* redirect or undo interceptions created by config.h */ |
| 46 | #undef access | 48 | #undef access |
| @@ -61,15 +63,12 @@ int fchown (int fd, unsigned uid, unsigned gid); | |||
| 61 | #undef fopen | 63 | #undef fopen |
| 62 | #undef mkdir | 64 | #undef mkdir |
| 63 | #define mkdir _mkdir | 65 | #define mkdir _mkdir |
| 64 | #undef mktemp | ||
| 65 | #define mktemp _mktemp | ||
| 66 | #undef open | 66 | #undef open |
| 67 | #define open _open | 67 | #define open _open |
| 68 | #undef pipe | 68 | #undef pipe |
| 69 | #define pipe _pipe | 69 | #define pipe _pipe |
| 70 | #undef read | 70 | #undef read |
| 71 | #define read _read | 71 | #define read _read |
| 72 | #undef rename | ||
| 73 | #undef rmdir | 72 | #undef rmdir |
| 74 | #define rmdir _rmdir | 73 | #define rmdir _rmdir |
| 75 | #undef unlink | 74 | #undef unlink |