diff options
-rw-r--r-- | lib/libc/gen/getvfsent.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c index d7a8633..469ef97 100644 --- a/lib/libc/gen/getvfsent.c +++ b/lib/libc/gen/getvfsent.c @@ -4,8 +4,6 @@ * This file is in the public domain. */ -#define _OLD_VFSCONF - #include <sys/param.h> #include <sys/types.h> #include <sys/mount.h> @@ -19,6 +17,10 @@ #include <errno.h> #include <paths.h> +/* XXX hide some compatibility problems. */ +#undef getvfsbyname +#define vfsconf ovfsconf + #define _PATH_MODLOAD "/sbin/modload" /* XXX should be in header file */ static struct vfsconf *_vfslist = 0; |