summaryrefslogtreecommitdiff
path: root/src/fs/physfs/virtfileprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/physfs/virtfileprivate.h')
-rw-r--r--src/fs/physfs/virtfileprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/physfs/virtfileprivate.h b/src/fs/physfs/virtfileprivate.h
index 75ad6a337..1067cfda0 100644
--- a/src/fs/physfs/virtfileprivate.h
+++ b/src/fs/physfs/virtfileprivate.h
@@ -20,6 +20,7 @@
#ifndef UTILS_VIRTFILEPRIVATE_H
#define UTILS_VIRTFILEPRIVATE_H
+#ifdef USE_PHYSFS
#include "localconsts.h"
@@ -40,4 +41,5 @@ struct VirtFilePrivate final
PHYSFS_file *mFile;
};
+#endif // USE_PHYSFS
#endif // UTILS_VIRTFILEPRIVATE_H