]> err.no Git - util-linux/commitdiff
lib: do not include <linux/fd.h> in ismounted.c
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 19 Apr 2009 14:33:44 +0000 (16:33 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Apr 2009 11:22:21 +0000 (13:22 +0200)
<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>
lib/ismounted.c

index 0481c77e4f625f2e5276b9f70fc4b9d1e5f43e47..28ae32527d808c078011ba5080fe81319d24cea2 100644 (file)
@@ -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>