summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/fsprobe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fsprobe.c b/lib/fsprobe.c
index cd008cc3..c5fa8c63 100644
--- a/lib/fsprobe.c
+++ b/lib/fsprobe.c
@@ -7,7 +7,11 @@
#include <sys/types.h>
#include <stdlib.h>
+#ifdef HAVE_BLKID_BLKID_H
+#include <blkid/blkid.h>
+#else
#include <blkid.h>
+#endif
#include "blkdev.h"
#include "canonicalize.h"