BUGFIX use of PATH_MAX (for OSX)
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 0123d69..d550175 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -16,6 +16,7 @@
 
 #include <dirent.h>
 #include <errno.h>
+#include <limits.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <sys/stat.h>