From: Anatol Belski Date: Wed, 22 Jan 2014 10:52:52 +0000 (+0100) Subject: fixed missing usleep() prototype in pgsql X-Git-Tag: php-5.5.9RC1~3^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bcf01f39abcc0baab2b37ff9799581e9f298b10;p=php fixed missing usleep() prototype in pgsql --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 3dc3057905..2ac0454769 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -37,6 +37,9 @@ #include "ext/standard/php_standard.h" #include "ext/standard/php_smart_str.h" #include "ext/ereg/php_regex.h" +#ifdef PHP_WIN32 +# include "win32/time.h" +#endif #undef PACKAGE_BUGREPORT #undef PACKAGE_NAME diff --git a/win32/time.h b/win32/time.h index f841a2b601..d5d86eb1ed 100644 --- a/win32/time.h +++ b/win32/time.h @@ -50,4 +50,6 @@ PHPAPI extern int setitimer(int which, const struct itimerval *value, PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp ); +PHPAPI int usleep(unsigned int useconds); + #endif