35 lines
983 B
Diff
35 lines
983 B
Diff
From e1a907bd64d700308e3a1625f0e0a5ddb1c22ef0 Mon Sep 17 00:00:00 2001
|
||
From: Jon Daniel <joneqdaniel@gmail.com>
|
||
Date: Thu, 8 May 2025 12:36:35 -0700
|
||
Subject: [PATCH] build: add missing #include to cure compile error
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
References: https://github.com/DescentDevelopers/Descent3/pull/715
|
||
|
||
[g++-14 complains:
|
||
|
||
mission_download.cpp:402:19: error: variable ‘std::fstream in’ has initializer but incomplete type
|
||
402 | std::fstream in(qualfile, std::ios::binary | std::ios::trunc | std::ios::out);
|
||
|
||
–jengelh]
|
||
---
|
||
Descent3/mission_download.cpp | 1 +
|
||
1 file changed, 1 insertion(+)
|
||
|
||
diff --git a/Descent3/mission_download.cpp b/Descent3/mission_download.cpp
|
||
index 52e408e4..7343ee8d 100644
|
||
--- a/Descent3/mission_download.cpp
|
||
+++ b/Descent3/mission_download.cpp
|
||
@@ -120,6 +120,7 @@
|
||
|
||
#include <cstdio>
|
||
#include <future>
|
||
+#include <fstream>
|
||
|
||
#include "mem.h"
|
||
#include "args.h"
|
||
--
|
||
2.49.0
|
||
|