]> granicus.if.org Git - php/commitdiff
fixed missing usleep() prototype in pgsql
authorAnatol Belski <ab@php.net>
Wed, 22 Jan 2014 10:52:52 +0000 (11:52 +0100)
committerAnatol Belski <ab@php.net>
Wed, 22 Jan 2014 10:52:52 +0000 (11:52 +0100)
ext/pgsql/pgsql.c
win32/time.h

index 3dc305790576a6fc7a0ea664de811dd5bc35bb00..2ac0454769a3ce0c162145e7663e2422f0a1f4fb 100644 (file)
@@ -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
index f841a2b601fe355cb4379b3e38a852838f8d9eb0..d5d86eb1ed78198abad45c09a6c339b4e823307c 100644 (file)
@@ -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