summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/opcache/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 70cd4e9ecc..81b06e9eab 100644
--- a/ext/opcache/config.m4
+++ b/ext/opcache/config.m4
@@ -356,7 +356,7 @@ extern int lock_file;
# error "Don't know how to define struct flock"
# endif
#endif
-void main() {}
+void main() { return 0; }
], [], [AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set --enable-opcache=no])], [])
PHP_NEW_EXTENSION(opcache,