diff options
| author | Richard M. Stallman <rms@gnu.org> | 1997-07-20 17:37:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1997-07-20 17:37:56 +0000 |
| commit | 5fe16cc40f345322a5572aa87b3e59f32863b804 (patch) | |
| tree | fba5ec15677155a0e13218885e5ce9e7893be699 | |
| parent | 77a5664f19cf8f3fcfbd73dc1a173e0b7ba319a4 (diff) | |
| download | emacs-5fe16cc40f345322a5572aa87b3e59f32863b804.tar.gz | |
[HAVE_UNISTD_H]: Include unistd.h.
| -rw-r--r-- | lib-src/etags.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index a9e35d34139..11f4f6a97a2 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -77,6 +77,11 @@ extern int errno; #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 |
