--- plugger-helper.c.orig Sun Dec 9 22:41:11 2001 +++ plugger-helper.c Sun Mar 24 23:29:20 2002 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -355,10 +356,10 @@ /* Time to steal the lock! */ mode=PropModeReplace; gettimeofday(&tv, 0); - INC_TIME(&tv, 0, 10000 + (rand() & 16383)); + INC_TIME(&tv, 0, 10000 + (random() & 16383)); break; } - my_usleep((rand() & 16383) + 2000); /* 0.18383 seconds */ + my_usleep((random() & 16383) + 2000); /* 0.18383 seconds */ } D("XChangeProperty, mode=%d\n",mode); @@ -401,6 +402,7 @@ got_sigwinch=1; } +#define LONG_CHARS 12 int main(int argc, char **argv) { @@ -493,30 +495,30 @@ loops=MIN(repeats,10); for(e=0;e