]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: don't include libio.h
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 3 Mar 2016 16:29:58 +0000 (17:29 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 7 Mar 2016 22:29:55 +0000 (23:29 +0100)
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>
libmount/src/btrfs.c
login-utils/last.c

index edcabf3cae827d9ddd9bcfcded283ed84075fa77..9f48bf4a4821e94facd8f509088bc173b378b672 100644 (file)
@@ -9,7 +9,7 @@
  */
 #include <dirent.h>
 #include <sys/ioctl.h>
-#include <libio.h>
+#include <stdlib.h>
 #include <stdint.h>
 #include <linux/btrfs.h>
 
index 38b92efc288c0e938e85db77819f3238048de055..b8c4b832bbc00a3b5d897896e4eb168502c23cd1 100644 (file)
@@ -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>