Mercurial > emacs
comparison lib-src/etags.c @ 112317:7df2e30d72ec
Include <unistd.h> unilaterally.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 09 Jan 2011 00:12:35 -0800 |
parents | 40af77a50adc |
children |
comparison
equal
deleted
inserted
replaced
112316:2887524f362a | 112317:7df2e30d72ec |
---|---|
170 # define EXIT_SUCCESS 0 | 170 # define EXIT_SUCCESS 0 |
171 # define EXIT_FAILURE 1 | 171 # define EXIT_FAILURE 1 |
172 # endif | 172 # endif |
173 #endif /* !WINDOWSNT */ | 173 #endif /* !WINDOWSNT */ |
174 | 174 |
175 #ifdef HAVE_UNISTD_H | 175 #include <unistd.h> |
176 # include <unistd.h> | 176 #ifndef HAVE_UNISTD_H |
177 #else | |
178 # if defined (HAVE_GETCWD) && !defined (WINDOWSNT) | 177 # if defined (HAVE_GETCWD) && !defined (WINDOWSNT) |
179 extern char *getcwd (char *buf, size_t size); | 178 extern char *getcwd (char *buf, size_t size); |
180 # endif | 179 # endif |
181 #endif /* HAVE_UNISTD_H */ | 180 #endif /* HAVE_UNISTD_H */ |
182 | 181 |