mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
Teach libc5 about realpath
-Erik
This commit is contained in:
parent
95b520110d
commit
8a915880e7
5
umount.c
5
umount.c
@ -30,6 +30,11 @@
|
||||
#include <stdlib.h>
|
||||
#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 */
|
||||
|
@ -30,6 +30,11 @@
|
||||
#include <stdlib.h>
|
||||
#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 */
|
||||
|
Loading…
Reference in New Issue
Block a user