diff options
author | Karel Zak | 2014-06-18 11:27:39 +0200 |
---|---|---|
committer | Karel Zak | 2014-06-18 11:27:39 +0200 |
commit | 25472aaf946d21ecfe98b8af5820f4f239ac3520 (patch) | |
tree | 2603cee4074ebeefde3dcfe4b14fa717b3533e22 | |
parent | lib/sysfs: fix compiler warning [-Wunused-variable] (diff) | |
download | kernel-qcow2-util-linux-25472aaf946d21ecfe98b8af5820f4f239ac3520.tar.gz kernel-qcow2-util-linux-25472aaf946d21ecfe98b8af5820f4f239ac3520.tar.xz kernel-qcow2-util-linux-25472aaf946d21ecfe98b8af5820f4f239ac3520.zip |
libblkid: fix compiler warning [-Wimplicit-function-declaration]
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | libblkid/src/probe.c | 1 | ||||
-rw-r--r-- | libblkid/src/verify.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c index fbb07b1b7..b1eddd628 100644 --- a/libblkid/src/probe.c +++ b/libblkid/src/probe.c @@ -110,6 +110,7 @@ #include "blkidP.h" #include "all-io.h" +#include "sysfs.h" /* chains */ extern const struct blkid_chaindrv superblocks_drv; diff --git a/libblkid/src/verify.c b/libblkid/src/verify.c index 9dfdcc4fa..06f6d53d5 100644 --- a/libblkid/src/verify.c +++ b/libblkid/src/verify.c @@ -19,7 +19,9 @@ #ifdef HAVE_ERRNO_H #include <errno.h> #endif + #include "blkidP.h" +#include "sysfs.h" static void blkid_probe_to_tags(blkid_probe pr, blkid_dev dev) { |