aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/etags.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-01-09 00:12:35 -0800
committerPaul Eggert <[email protected]>2011-01-09 00:12:35 -0800
commit4004364e6777a1ed2c3e2c0fdf9fed871b186ac3 (patch)
tree44d96204ce5ebd144662234e6185d542838be9d1 /lib-src/etags.c
parent613f7bda1d003048ad79e7c4bba744e5057d609e (diff)
Include <unistd.h> unilaterally.
Diffstat (limited to 'lib-src/etags.c')
-rw-r--r--lib-src/etags.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index f06e714c04..2721415adc 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -172,9 +172,8 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4";
# endif
#endif /* !WINDOWSNT */
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#else
+#include <unistd.h>
+#ifndef HAVE_UNISTD_H
# if defined (HAVE_GETCWD) && !defined (WINDOWSNT)
extern char *getcwd (char *buf, size_t size);
# endif