changeset 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 1ed40ed8e0c1
children 539611251037
files lib-src/etags.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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