parser: accept trailing comma in enums; __restrict for arrays
[m6w6/ext-psi] / psi.d / stat.psi
index 9b767dacc0d19a1fc4ec44d1e03747877fca9dc8..3d0e62330efdbd30e0c93c04703e333e7dcde847 100644 (file)
@@ -1,3 +1,4 @@
+#include <sys/stat.h>
 // extern int stat(char *path, struct stat *buf);
 function psi\stat(string $path, array &$buf = NULL) : int {
        let path = strval($path);