Skip to content
Snippets Groups Projects
Commit 69939416 authored by Yorhel's avatar Yorhel
Browse files

Fix build failure if exclude-kernfs option is not available

Fixes #218
parent 3ef0ac93
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@
int dir_scan_smfs; /* Stay on the same filesystem */
int exclude_kernfs; /* Exclude Linux pseudo filesystems */
static uint64_t curdev; /* current device we're scanning on */
......@@ -61,7 +62,6 @@ static unsigned int buf_nlink;
#if HAVE_LINUX_MAGIC_H && HAVE_SYS_STATFS_H && HAVE_STATFS
int exclude_kernfs; /* Exclude Linux pseudo filesystems */
static int is_kernfs(unsigned long type) {
if(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment