diff options
author | David J. MacKenzie <djm@gnu.org> | 1995-09-02 23:47:41 +0000 |
---|---|---|
committer | David J. MacKenzie <djm@gnu.org> | 1995-09-02 23:47:41 +0000 |
commit | c70c27055d0cd10097196099b5429af2e9638d08 (patch) | |
tree | adc1a5074b23ae29c0c408a813d5056631cfaccf /src/termcap.c | |
parent | bccfd93664e262dcdb92eb820a2d8d83d018452d (diff) | |
download | emacs-c70c27055d0cd10097196099b5429af2e9638d08.tar.gz |
Don't assume that HAVE_CONFIG_H implies emacs.
Diffstat (limited to 'src/termcap.c')
-rw-r--r-- | src/termcap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/termcap.c b/src/termcap.c index 2a270c454eb..595fc425c18 100644 --- a/src/termcap.c +++ b/src/termcap.c @@ -17,8 +17,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Emacs config.h may rename various library functions such as malloc. */ #ifdef HAVE_CONFIG_H - #include <config.h> +#endif + +#ifdef emacs /* Get the O_* definitions for open et al. */ #include <sys/file.h> @@ -26,7 +28,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <fcntl.h> #endif -#else /* not HAVE_CONFIG_H */ +#else /* not emacs */ #ifdef STDC_HEADERS #include <stdlib.h> @@ -49,7 +51,7 @@ char *realloc (); #include <fcntl.h> #endif -#endif /* not HAVE_CONFIG_H */ +#endif /* not emacs */ #ifndef NULL #define NULL (char *) 0 |