projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include sys/socket.h, arpa/inet.h
[yaz-moved-to-github.git]
/
src
/
tpath.c
diff --git
a/src/tpath.c
b/src/tpath.c
index
2cd900d
..
d4e8cbe
100644
(file)
--- a/
src/tpath.c
+++ b/
src/tpath.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2006, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: tpath.c,v 1.12 2006-10-11 08:43:22 adam Exp $
*/
/**
* \file tpath.c
*/
/**
* \file tpath.c
@@
-19,8
+17,16
@@
#include <ctype.h>
#include <yaz/tpath.h>
#include <yaz/log.h>
#include <ctype.h>
#include <yaz/tpath.h>
#include <yaz/log.h>
+#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/types.h>
+#endif
+#if HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+#if WIN32
#include <sys/stat.h>
#include <sys/stat.h>
+#endif
+
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif