[PATCH 07/12] libmount: don't include libio.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx>

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@xxxxxxxxxxx>
---
 libmount/src/btrfs.c | 2 +-
 login-utils/last.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmount/src/btrfs.c b/libmount/src/btrfs.c
index edcabf3..9f48bf4 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 38b92ef..b8c4b83 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>
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux