projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use HAVE_UNISTD_H when including unistd.h.
[idzebra-moved-to-github.git]
/
index
/
trav.c
diff --git
a/index/trav.c
b/index/trav.c
index
4d02b5e
..
3dff5f5
100644
(file)
--- a/
index/trav.c
+++ b/
index/trav.c
@@
-1,4
+1,4
@@
-/* $Id: trav.c,v 1.48 2005-05-09 19:57:35 adam Exp $
+/* $Id: trav.c,v 1.49 2005-06-14 20:28:54 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-27,7
+27,8
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <io.h>
#define S_ISREG(x) (x & _S_IFREG)
#define S_ISDIR(x) (x & _S_IFDIR)
#include <io.h>
#define S_ISREG(x) (x & _S_IFREG)
#define S_ISDIR(x) (x & _S_IFDIR)
-#else
+#endif
+#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <direntz.h>
#include <unistd.h>
#endif
#include <direntz.h>