summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuediger Meier2016-03-03 17:29:58 +0100
committerRuediger Meier2016-03-07 23:29:55 +0100
commit9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65 (patch)
treefaf0abcbe983155f146c5a2ccbdaa4b258de3db1
parentmisc: never cast void* from malloc(3) and friends (diff)
downloadkernel-qcow2-util-linux-9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65.tar.gz
kernel-qcow2-util-linux-9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65.tar.xz
kernel-qcow2-util-linux-9d76c6fb9f0eb4cc34d6a10833a60f252bf5bc65.zip
libmount: don't include libio.h
This include was added just one month ago in 5a971329 but I don't see what it was good for. It's missing in musl libc. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
-rw-r--r--libmount/src/btrfs.c2
-rw-r--r--login-utils/last.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/btrfs.c b/libmount/src/btrfs.c
index edcabf3ca..9f48bf4a4 100644
--- a/libmount/src/btrfs.c
+++ b/libmount/src/btrfs.c
@@ -9,7 +9,7 @@
*/
#include <dirent.h>
#include <sys/ioctl.h>
-#include <libio.h>
+#include <stdlib.h>
#include <stdint.h>
#include <linux/btrfs.h>
diff --git a/login-utils/last.c b/login-utils/last.c
index 38b92efc2..b8c4b832b 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -26,7 +26,7 @@
*/
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <time.h>
#include <stdio.h>
#include <ctype.h>