summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAurelien Jarno2009-04-19 16:33:44 +0200
committerKarel Zak2009-04-20 13:22:21 +0200
commit89289f1f25bc0211463c32ceabd22e293bfc0e05 (patch)
treec43da0919f9d1c06ef53aa300d0656c54a1ac824 /lib
parentblkid: rename blkid_debug_init to blkid_init_debug (diff)
downloadkernel-qcow2-util-linux-89289f1f25bc0211463c32ceabd22e293bfc0e05.tar.gz
kernel-qcow2-util-linux-89289f1f25bc0211463c32ceabd22e293bfc0e05.tar.xz
kernel-qcow2-util-linux-89289f1f25bc0211463c32ceabd22e293bfc0e05.zip
lib: do not include <linux/fd.h> in ismounted.c
<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@aurel32.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/ismounted.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ismounted.c b/lib/ismounted.c
index 0481c77e4..28ae32527 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>