diff options
| author | Andreas Schwab | 1998-04-06 10:17:33 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-06 10:17:33 +0000 |
| commit | 2e0a5ae090ce3951448a8e883dd88c8af9a1247e (patch) | |
| tree | df4852c62bc1d98c428fe6d65dcdcc80b9e1d5e2 /lib-src | |
| parent | cb58ebb0cb727984444434c92cd3bd99e8f6bc04 (diff) | |
| download | emacs-2e0a5ae090ce3951448a8e883dd88c8af9a1247e.tar.gz emacs-2e0a5ae090ce3951448a8e883dd88c8af9a1247e.zip | |
Move cancelations up. Include <stdlib.h> if
available.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/movemail.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 8d23fc7b8fd..7e29ab4150f 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c | |||
| @@ -91,6 +91,12 @@ Boston, MA 02111-1307, USA. */ | |||
| 91 | #define DISABLE_DIRECT_ACCESS | 91 | #define DISABLE_DIRECT_ACCESS |
| 92 | #endif /* WINDOWSNT */ | 92 | #endif /* WINDOWSNT */ |
| 93 | 93 | ||
| 94 | /* Cancel substitutions made by config.h for Emacs. */ | ||
| 95 | #undef open | ||
| 96 | #undef read | ||
| 97 | #undef write | ||
| 98 | #undef close | ||
| 99 | |||
| 94 | #ifdef USG | 100 | #ifdef USG |
| 95 | #include <fcntl.h> | 101 | #include <fcntl.h> |
| 96 | #include <unistd.h> | 102 | #include <unistd.h> |
| @@ -106,6 +112,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 106 | #include <unistd.h> | 112 | #include <unistd.h> |
| 107 | #endif | 113 | #endif |
| 108 | 114 | ||
| 115 | #ifdef STDC_HEADERS | ||
| 116 | #include <stdlib.h> | ||
| 117 | #endif | ||
| 118 | |||
| 109 | #if defined (XENIX) || defined (WINDOWSNT) | 119 | #if defined (XENIX) || defined (WINDOWSNT) |
| 110 | #include <sys/locking.h> | 120 | #include <sys/locking.h> |
| 111 | #endif | 121 | #endif |
| @@ -133,12 +143,6 @@ static char *mail_spool_name (); | |||
| 133 | #endif | 143 | #endif |
| 134 | #endif | 144 | #endif |
| 135 | 145 | ||
| 136 | /* Cancel substitutions made by config.h for Emacs. */ | ||
| 137 | #undef open | ||
| 138 | #undef read | ||
| 139 | #undef write | ||
| 140 | #undef close | ||
| 141 | |||
| 142 | #ifndef errno | 146 | #ifndef errno |
| 143 | extern int errno; | 147 | extern int errno; |
| 144 | #endif | 148 | #endif |