diff options
author | maximilian attems <max@stro.at> | 2011-08-30 02:26:01 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2011-08-30 11:37:05 +0200 |
commit | ee8d5635fb901bd19d5919c9407c30db2e6a5051 (patch) | |
tree | e606c27d546de564849f302998798da14678fbdf | |
parent | 1a4d6425459e006167270dc46466bb818d98fd69 (diff) | |
download | klibc-ee8d5635fb901bd19d5919c9407c30db2e6a5051.tar.gz |
[klibc] include: [mntent.h] Add MNTTYPE_SWAP definition
It is used by util-linux mount code:
mount.c:1004:30: error: ‘MNTTYPE_SWAP’ undeclared (first use in this function)
..
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/include/mntent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/include/mntent.h b/usr/include/mntent.h index 210610cbd12de..104f35e5479a4 100644 --- a/usr/include/mntent.h +++ b/usr/include/mntent.h @@ -1,6 +1,8 @@ #ifndef _MNTENT_H #define _MNTENT_H 1 +#define MNTTYPE_SWAP "swap" + struct mntent { char *mnt_fsname; /* name of mounted file system */ char *mnt_dir; /* file system path prefix */ |