Signed-off-by: Natanael Copa <ncopa@xxxxxxxxxxxxxxx> --- utils/mountd/cache.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index b0cc6a8..b36255b 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -11,6 +11,10 @@ #include <config.h> #endif +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include <sys/types.h> #include <sys/select.h> #include <sys/stat.h> @@ -1419,7 +1423,7 @@ static int cache_export_ent(char *domain, struct exportent *exp, char *path) */ struct stat stb; size_t l = strlen(exp->e_path); - __dev_t dev; + dev_t dev; if (strlen(path) <= l || path[l] != '/' || strncmp(exp->e_path, path, l) != 0) -- 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html