summaryrefslogtreecommitdiffstats
path: root/mbbsd/chc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/chc.c')
-rw-r--r--mbbsd/chc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c
index e9f043fd..249b2d98 100644
--- a/mbbsd/chc.c
+++ b/mbbsd/chc.c
@@ -305,7 +305,11 @@ chc_log_step(board_t board, rc_t *from, rc_t *to)
}
static int
+#ifdef __linux__
+chc_filter(const struct dirent *dir)
+#else
chc_filter(struct dirent *dir)
+#endif
{
if (strcmp(dir->d_name, ".") == 0 || strcmp(dir->d_name, "..") == 0 )
return 0;