diff options
-rw-r--r-- | ext/standard/flock_compat.c | 2 | ||||
-rw-r--r-- | ext/standard/flock_compat.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c index 35f7ea411e..44f0b5c6ac 100644 --- a/ext/standard/flock_compat.c +++ b/ext/standard/flock_compat.c @@ -41,7 +41,7 @@ #endif #ifndef HAVE_FLOCK -int flock(int fd, int operation) +PHPAPI int flock(int fd, int operation) #if HAVE_STRUCT_FLOCK { struct flock flck; diff --git a/ext/standard/flock_compat.h b/ext/standard/flock_compat.h index d352f5116e..4b67b5cb04 100644 --- a/ext/standard/flock_compat.h +++ b/ext/standard/flock_compat.h @@ -26,7 +26,7 @@ # define LOCK_EX 2 # define LOCK_NB 4 # define LOCK_UN 8 -int flock(int fd, int operation); +PHPAPI int flock(int fd, int operation); #endif #ifdef PHP_WIN32 |