+
+ // Check to see if include paths actually exist
+ if (strlen(searchpath) > 0)
+ {
+ DIR * test = opendir(searchpath);
+
+ if (test == NULL)
+ {
+ printf("Invalid include path: %s\n", searchpath);
+ errcnt++;
+ return errcnt;
+ }
+
+ closedir(test);
+ }
+