diff options
Diffstat (limited to 'src/fs.c')
-rw-r--r-- | src/fs.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -80,11 +80,14 @@ static char *rccCheckFile(const char *prefix, const char *name) { /* Converts: 'filename' to 'prefix/name' using 'fspath' */ int rccFS0(rcc_language_config config, const char *fspath, const char *filename, char **prefix, char **name) { +#ifdef HAVE_MNTENT_H FILE *mtab; struct mntent *fsentry; + char *lastprefix; +#endif /* HAVE_MNTENT_H */ + const char *tmp = NULL; size_t len; - char *lastprefix; if (fspath) { len = strlen(fspath); |