commit | 8aeb3719294721f744239ced474d159f073eef55 | [log] [tgz] |
---|---|---|
author | Tanguy Pruvot <tanguy.pruvot@gmail.com> | Thu Jun 30 08:59:26 2011 +0200 |
committer | Tanguy Pruvot <tanguy.pruvot@gmail.com> | Thu Jun 30 08:59:26 2011 +0200 |
tree | 5bfd7b8c140549a668ecbb2d2a0d415525ed92b5 | |
parent | 75214cfe00c72c51c67c9ac2541f06b0540136f1 [diff] [blame] |
merged commit between gingerbread and busybox/master 20110630
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index dbefa4c..4905f09 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c
@@ -24,7 +24,13 @@ #include "libbb.h" #include <mntent.h> +#ifndef __BIONIC__ #include <sys/swap.h> +#endif + +#ifndef MNTTYPE_SWAP +#define MNTTYPE_SWAP "swap" +#endif #if ENABLE_FEATURE_MOUNT_LABEL # include "volume_id.h"