summaryrefslogtreecommitdiff
path: root/shlibs/blkid/src/topology/topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/blkid/src/topology/topology.c')
-rw-r--r--shlibs/blkid/src/topology/topology.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shlibs/blkid/src/topology/topology.c b/shlibs/blkid/src/topology/topology.c
index f39f49fb..27dc755f 100644
--- a/shlibs/blkid/src/topology/topology.c
+++ b/shlibs/blkid/src/topology/topology.c
@@ -74,12 +74,14 @@ struct blkid_struct_topology {
*/
static const struct blkid_idinfo *idinfos[] =
{
+#ifdef __linux__
&ioctl_tp_idinfo,
&sysfs_tp_idinfo,
&md_tp_idinfo,
&dm_tp_idinfo,
&lvm_tp_idinfo,
&evms_tp_idinfo
+#endif
};