Commit 14bd16ac56e81e4912341cb731dc54af0dbe9e6c introduced a nice change: --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -25,6 +25,9 @@ #include "libbb.h" #include <mntent.h> #include <sys/swap.h> +#ifndef __BIONIC__ +# include <sys/swap.h> +#endif #if ENABLE_FEATURE_MOUNT_LABEL # include "volume_id.h" So, sys/swap.h gets include twice for anything but _BIONIC_, and once for _BIONIC_. I guess the first #include were intended to go away with introduction of the #if conditional. Does it actually build with bionic? Thanks, /mjt
Fixed, thanks.