diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 3 | ||||
| -rw-r--r-- | src/fileio.c | 2 | ||||
| -rw-r--r-- | src/floatfns.c | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c index eab21a4e82a..b4044d2bb78 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -49,7 +49,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 49 | #define NULL 0 | 49 | #define NULL 0 |
| 50 | #endif | 50 | #endif |
| 51 | 51 | ||
| 52 | #ifndef USE_CRT_DLL | ||
| 52 | extern char **environ; | 53 | extern char **environ; |
| 54 | #endif | ||
| 55 | |||
| 53 | extern Lisp_Object make_time P_ ((time_t)); | 56 | extern Lisp_Object make_time P_ ((time_t)); |
| 54 | extern size_t emacs_strftimeu P_ ((char *, size_t, const char *, | 57 | extern size_t emacs_strftimeu P_ ((char *, size_t, const char *, |
| 55 | const struct tm *, int)); | 58 | const struct tm *, int)); |
diff --git a/src/fileio.c b/src/fileio.c index 38a605ad12f..b5b9213d895 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -65,8 +65,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 65 | #include <errno.h> | 65 | #include <errno.h> |
| 66 | 66 | ||
| 67 | #ifndef vax11c | 67 | #ifndef vax11c |
| 68 | #ifndef USE_CRT_DLL | ||
| 68 | extern int errno; | 69 | extern int errno; |
| 69 | #endif | 70 | #endif |
| 71 | #endif | ||
| 70 | 72 | ||
| 71 | #ifdef APOLLO | 73 | #ifdef APOLLO |
| 72 | #include <sys/time.h> | 74 | #include <sys/time.h> |
diff --git a/src/floatfns.c b/src/floatfns.c index d6cbb876e37..db1c3a7231e 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -107,8 +107,10 @@ extern double logb (); | |||
| 107 | #ifdef FLOAT_CHECK_ERRNO | 107 | #ifdef FLOAT_CHECK_ERRNO |
| 108 | # include <errno.h> | 108 | # include <errno.h> |
| 109 | 109 | ||
| 110 | #ifndef USE_CRT_DLL | ||
| 110 | extern int errno; | 111 | extern int errno; |
| 111 | #endif | 112 | #endif |
| 113 | #endif | ||
| 112 | 114 | ||
| 113 | /* Avoid traps on VMS from sinh and cosh. | 115 | /* Avoid traps on VMS from sinh and cosh. |
| 114 | All the other functions set errno instead. */ | 116 | All the other functions set errno instead. */ |