diff options
| author | Jim Blandy | 1993-01-14 15:02:14 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-01-14 15:02:14 +0000 |
| commit | 7e1fc708f4a2017f95ebfa4697446b94eea1b22c (patch) | |
| tree | 32b4317df22b94350b22d88d1508dcf5d2ab0c47 /src/config.in | |
| parent | 6d62a90e1f9662c515f1c026d550b93cb2b718e0 (diff) | |
| download | emacs-7e1fc708f4a2017f95ebfa4697446b94eea1b22c.tar.gz emacs-7e1fc708f4a2017f95ebfa4697446b94eea1b22c.zip | |
* config.h.in: protect against multiple #inclusions.
* config.h.in: Add a declaration for getenv.
Diffstat (limited to 'src/config.in')
| -rw-r--r-- | src/config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in index c1da6bedbb5..574bac6349f 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -19,6 +19,12 @@ file named COPYING. Among other things, the copyright notice | |||
| 19 | and this notice must be preserved on all copies. */ | 19 | and this notice must be preserved on all copies. */ |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | /* No code in Emacs #includes config.h twice, but some of the code | ||
| 23 | intended to work with other packages as well (like gmalloc.c) | ||
| 24 | think they can include it as many times as they like. */ | ||
| 25 | #ifndef EMACS_CONFIG_H | ||
| 26 | #define EMACS_CONFIG_H | ||
| 27 | |||
| 22 | 28 | ||
| 23 | /* Define HAVE_X_WINDOWS if you want to use the X window system. */ | 29 | /* Define HAVE_X_WINDOWS if you want to use the X window system. */ |
| 24 | /* #define HAVE_X_WINDOWS */ | 30 | /* #define HAVE_X_WINDOWS */ |
| @@ -165,3 +171,12 @@ and this notice must be preserved on all copies. */ | |||
| 165 | #ifndef SIGTYPE | 171 | #ifndef SIGTYPE |
| 166 | #define SIGTYPE void | 172 | #define SIGTYPE void |
| 167 | #endif | 173 | #endif |
| 174 | |||
| 175 | #ifndef THIS_IS_YMAKEFILE | ||
| 176 | /* Some of the files of Emacs which are intended for use with other | ||
| 177 | programs assume that if you have a config.h file, you must declare | ||
| 178 | the type of getenv. */ | ||
| 179 | extern char *getenv (); | ||
| 180 | #endif | ||
| 181 | |||
| 182 | #endif /* EMACS_CONFIG_H */ | ||