diff options
Diffstat (limited to 'ext/standard/flock_compat.c')
| -rw-r--r-- | ext/standard/flock_compat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c index 2f03bcc856..92d2590662 100644 --- a/ext/standard/flock_compat.c +++ b/ext/standard/flock_compat.c @@ -41,7 +41,10 @@ #endif #ifndef HAVE_FLOCK -/* defines flock as php_flock */ +PHPAPI int php_flock(int fd, int operation) +{ + return php_flock(fd, operation); +} #endif /* !defined(HAVE_FLOCK) */ PHPAPI int php_flock(int fd, int operation) |
