From 8a915880e7c86534859353f40ee18fbbe8004c26 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 2 Aug 2001 09:55:58 +0000 Subject: Teach libc5 about realpath -Erik --- util-linux/umount.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util-linux') diff --git a/util-linux/umount.c b/util-linux/umount.c index 8565744..74638d2 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c @@ -30,6 +30,11 @@ #include #include "busybox.h" +/* Teach libc5 about realpath -- it includes it but the + * prototype is missing... */ +#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) +extern char *realpath(const char *path, char *resolved_path); +#endif static const int MNT_FORCE = 1; static const int MS_MGC_VAL = 0xc0ed0000; /* Magic number indicatng "new" flags */ -- cgit v1.1