From 7bcf01f39abcc0baab2b37ff9799581e9f298b10 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 22 Jan 2014 11:52:52 +0100 Subject: fixed missing usleep() prototype in pgsql --- ext/pgsql/pgsql.c | 3 +++ win32/time.h | 2 ++ 2 files changed, 5 insertions(+) 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 -- cgit v1.2.1