libmemcached-1.0: fix #57 (cinttypes/inttypes.h)
[awesomized/libmemcached] / libtest / wait.h
index 5f013cd3b01321f39ea3511837c2fb05e6bbcf6e..e5cdcb3d4766ca4d0cece1e85eb69bf50bf67d9a 100644 (file)
@@ -38,9 +38,8 @@
 
 #include <unistd.h>
 #include <string>
-#include <csignal>
+#include <signal.h>
 
-#include <sys/types.h>
 #include <libtest/dream.h>
 
 namespace libtest {
@@ -75,7 +74,7 @@ public:
       }
 
       this_wait= retry * retry / 3 + 1;
-      libtest::dream(this_wait, 0);
+      libtest::dream(0, this_wait * 10000000);
     }
   }
 
@@ -99,7 +98,7 @@ public:
       }
 
       this_wait= retry * retry / 3 + 1;
-      libtest::dream(this_wait, 0);
+      libtest::dream(0, this_wait * 10000000);
     }
   }