fix access of stat.st_mtime
[m6w6/ext-psi] / php_psi.h
index 8d7649ccdc370eb64f060be8434a4941540fab3c..de06fc304eca0ab4eb083160e3b6bb9e87d4da09 100644 (file)
--- a/php_psi.h
+++ b/php_psi.h
@@ -50,6 +50,7 @@ static inline int psi_check_env(const char *var) {
        return (set && *set && (*set != '0' || set[1]));
 }
 
+#include <fcntl.h>
 #include "php_network.h"
 
 static inline int psi_fdopen(const char *desc)