projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
ci: gh-actions -- fix install test
[awesomized/libmemcached]
/
src
/
libmemcachedprotocol
/
cache.h
diff --git
a/src/libmemcachedprotocol/cache.h
b/src/libmemcachedprotocol/cache.h
index 616909f785226cc88ab19c03f6ba506ac9e96df0..7b5efa987c0b88bb88f80d6e34a8ca3b5ea296fb 100644
(file)
--- a/
src/libmemcachedprotocol/cache.h
+++ b/
src/libmemcachedprotocol/cache.h
@@
-15,7
+15,11
@@
#pragma once
-#include <pthread.h>
+#ifdef HAVE_PTHREAD_H
+# include <pthread.h>
+#else
+typedef void *pthread_mutex_t;
+#endif
#ifdef HAVE_UMEM_H
# include <umem.h>