diff --git a/src/collect-io.cc b/src/collect-io.cc index 15a06784..c5c9a3f3 100644 --- a/src/collect-io.cc +++ b/src/collect-io.cc @@ -29,7 +29,7 @@ #include #include -#if defined(__linux__) +#if defined(__GLIBC__) #include #else #include @@ -265,7 +265,7 @@ static gboolean collection_load_private(CollectionData *cd, const gchar *path, C if (!g_str_has_prefix(buffer2, "/home") && !g_str_has_prefix(buffer2, "/tmp") && !g_str_has_prefix(buffer2, "/usr")) { /* The file was on a mounted drive and either has been deleted or the drive is not mounted */ -#if defined(__linux__) +#if defined(__GLIBC__) struct mntent *mount_entry; FILE *mount_entries;