X-Git-Url: https://git.m6w6.name/?p=m6w6%2Flibmemcached;a=blobdiff_plain;f=test%2Flib%2Frandom.cpp;h=76c049710432ffbc4b0be42d43aaee59a265c370;hp=1d9a20c9a9b166e0b5beda1743a04e5ffcfcb906;hb=6b7d2bf0319e0bd48bd6aa4ad8c56a935f98b0d2;hpb=fd0f1940d4b11f582fc237ff5ccf2c385eaa0e7d diff --git a/test/lib/random.cpp b/test/lib/random.cpp index 1d9a20c9..76c04971 100644 --- 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 // getpid() - +#if HAVE_UNISTD_H +# include // getpid() +#endif mt19937_64 rnd_eng; mutex rnd_mtx;