Mercurial > emacs
diff lib-src/etags.c @ 18881:e315e4e6d40b
[HAVE_UNISTD_H]: Include unistd.h.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 20 Jul 1997 17:37:56 +0000 |
parents | c378dd0b8de7 |
children | 77910f9661a9 |
line wrap: on
line diff
--- a/lib-src/etags.c Sun Jul 20 17:36:48 1997 +0000 +++ b/lib-src/etags.c Sun Jul 20 17:37:56 1997 +0000 @@ -77,6 +77,11 @@ #include <sys/types.h> #include <sys/stat.h> +/* This is to declare getcwd. */ +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #if !defined (S_ISREG) && defined (S_IFREG) # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #endif