projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
905df68
)
Include unistd.h always
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 30 Dec 2004 00:20:15 +0000
(
00:20
+0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 30 Dec 2004 00:20:15 +0000
(
00:20
+0000)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
173db4e
..
51bc87c
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.262 2004-12-21 20:25:39 adam Exp $
+ * $Id: client.c,v 1.263 2004-12-30 00:20:15 adam Exp $
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-32,6
+32,8
@@
#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
+#include <unistd.h>
#endif
#include <yaz/yaz-util.h>
#endif
#include <yaz/yaz-util.h>
@@
-55,7
+57,6
@@
#if HAVE_READLINE_READLINE_H
#include <readline/readline.h>
#if HAVE_READLINE_READLINE_H
#include <readline/readline.h>
-#include <unistd.h>
#endif
#if HAVE_READLINE_HISTORY_H
#include <readline/history.h>
#endif
#if HAVE_READLINE_HISTORY_H
#include <readline/history.h>