aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/data_src.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/data_src.h')
-rw-r--r--src/lib/utils/data_src.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/utils/data_src.h b/src/lib/utils/data_src.h
index 6a100ce63..b24fd75a4 100644
--- a/src/lib/utils/data_src.h
+++ b/src/lib/utils/data_src.h
@@ -138,6 +138,8 @@ class BOTAN_DLL DataSource_Memory : public DataSource
size_t m_offset;
};
+#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM)
+
/**
* This class represents a Stream-Based DataSource.
*/
@@ -175,6 +177,8 @@ class BOTAN_DLL DataSource_Stream : public DataSource
size_t m_total_read;
};
+#endif
+
}
#endif