projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
cmake: CI fixes
[awesomized/libmemcached]
/
test
/
lib
/
random.cpp
diff --git
a/test/lib/random.cpp
b/test/lib/random.cpp
index 1d9a20c9a9b166e0b5beda1743a04e5ffcfcb906..76c049710432ffbc4b0be42d43aaee59a265c370 100644
(file)
--- a/
test/lib/random.cpp
+++ b/
test/lib/random.cpp
@@
-1,8
+1,9
@@
#include "test/lib/random.hpp"
#include "test/lib/Connection.hpp"
-#include <unistd.h> // getpid()
-
+#if HAVE_UNISTD_H
+# include <unistd.h> // getpid()
+#endif
mt19937_64 rnd_eng;
mutex rnd_mtx;