fixed missing usleep() prototype in pgsql