diff --git a/src/class.c b/src/class.c index af81530..210f999 100644 --- a/src/class.c +++ b/src/class.c @@ -2190,7 +2190,7 @@ char *getClassPath() { return classpath; } -#ifdef __linux__ +#if defined(__linux__) || defined(__APPLE__) int filter(const struct dirent *entry) { #else int filter(struct dirent *entry) {