projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added configure check for various headers
[yazpp-moved-to-github.git]
/
src
/
yaz-pdu-assoc-thread.cpp
diff --git
a/src/yaz-pdu-assoc-thread.cpp
b/src/yaz-pdu-assoc-thread.cpp
index
4a6b921
..
fd4373a
100644
(file)
--- a/
src/yaz-pdu-assoc-thread.cpp
+++ b/
src/yaz-pdu-assoc-thread.cpp
@@
-2,7
+2,7
@@
* Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-pdu-assoc-thread.cpp,v 1.8 2004-12-13 20:50:54 adam Exp $
+ * $Id: yaz-pdu-assoc-thread.cpp,v 1.9 2005-01-14 10:13:50 adam Exp $
*/
#ifdef WIN32
*/
#ifdef WIN32
@@
-15,13
+15,17
@@
#if USE_THREADS
#if USE_THREADS
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#ifdef WIN32
#include <process.h>
#else
#include <pthread.h>
#ifdef WIN32
#include <process.h>
#else
#include <pthread.h>
-#include <unistd.h>
#endif
#endif
+
#include <errno.h>
#include <yaz/log.h>
#include <yaz/tcpip.h>
#include <errno.h>
#include <yaz/log.h>
#include <yaz/tcpip.h>