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 | 47d79be73e441d17f13dee4f702e0e93a0d8cec7 (patch) | |
tree | a251ea96f07afc60ead22964b596bb164cd045de /lib-src | |
parent | d4c69bf4ef9743e1ff6039f16cf2bf8020dd751d (diff) | |
download | emacs-47d79be73e441d17f13dee4f702e0e93a0d8cec7.tar.gz |
[HAVE_UNISTD_H]: Include unistd.h.
Diffstat (limited to 'lib-src')
-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 |