aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-02 09:55:58 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-02 09:55:58 +0000
commitf879c0b092f00b2820eda23a3f4c96f03d86805e (patch)
tree5fd7368b7b174231dc707d7b91e25bcda03cde77 /util-linux
parentba1f58a92dcee3be0b6fd8ba5aac1bebc9335a24 (diff)
downloadbusybox-w32-f879c0b092f00b2820eda23a3f4c96f03d86805e.tar.gz
busybox-w32-f879c0b092f00b2820eda23a3f4c96f03d86805e.tar.bz2
busybox-w32-f879c0b092f00b2820eda23a3f4c96f03d86805e.zip
Teach libc5 about realpath
-Erik git-svn-id: svn://busybox.net/trunk/busybox@3191 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/umount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 8565744f2..74638d21c 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -30,6 +30,11 @@
30#include <stdlib.h> 30#include <stdlib.h>
31#include "busybox.h" 31#include "busybox.h"
32 32
33/* Teach libc5 about realpath -- it includes it but the
34 * prototype is missing... */
35#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
36extern char *realpath(const char *path, char *resolved_path);
37#endif
33 38
34static const int MNT_FORCE = 1; 39static const int MNT_FORCE = 1;
35static const int MS_MGC_VAL = 0xc0ed0000; /* Magic number indicatng "new" flags */ 40static const int MS_MGC_VAL = 0xc0ed0000; /* Magic number indicatng "new" flags */