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
Fixed check for include of pthread.h
[idzebra-moved-to-github.git]
/
util
/
tstlockscope.c
diff --git
a/util/tstlockscope.c
b/util/tstlockscope.c
index
6836461
..
bf28f22
100644
(file)
--- a/
util/tstlockscope.c
+++ b/
util/tstlockscope.c
@@
-25,11
+25,11
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <pthread.h>
#include <yaz/log.h>
#include <yaz/test.h>
#include <yaz/log.h>
#include <yaz/test.h>
-#if YAZ_POSIX_THREADS
#include <fcntl.h>
#include <fcntl.h>
+#if YAZ_POSIX_THREADS
+#include <pthread.h>
#endif
int fd;
#endif
int fd;