parser: accept trailing comma in enums; __restrict for arrays
[m6w6/ext-psi] / psi.d / glob.psi
index 8fc3b0b31c0302a728338c47034a66a42573ff5d..1fd6b15c9bb6f8677a96c232acb0802877ee50f1 100644 (file)
@@ -1,3 +1,5 @@
+#include <glob.h>
+
 function psi\glob(string $pattern, int $flags, array &$glob = NULL, callable $errfn = NULL) : int {
        let path = strval($pattern);
        let flags = intval($flags);