[PATCH] lib: do not include <linux/fd.h> in ismounted.c

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

 



<linux/fd.h> is included for no reason in lib/ismounted.c. This
obviously breaks on non-Linux systems.

Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
---
 lib/ismounted.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/ismounted.c b/lib/ismounted.c
index 0481c77..28ae325 100644
--- a/lib/ismounted.c
+++ b/lib/ismounted.c
@@ -11,7 +11,6 @@
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <linux/fd.h>
 #include <mntent.h>
 #include <string.h>
 #include <sys/stat.h>
-- 
1.6.2.3


-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@xxxxxxxxxxx                 http://www.aurel32.net
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" 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