projects
/
idzebra-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:
4893a57
)
Fixed check for include of pthread.h
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 21 Apr 2008 10:56:21 +0000
(12:56 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 21 Apr 2008 10:56:21 +0000
(12:56 +0200)
util/tstlockscope.c
patch
|
blob
|
history
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 <pthread.h>
#include <yaz/log.h>
#include <yaz/test.h>
-#if YAZ_POSIX_THREADS
#include <fcntl.h>
+#if YAZ_POSIX_THREADS
+#include <pthread.h>
#endif
int fd;