void-packages/srcpkgs/retroshare/patches/gcc-12.patch

21 lines
585 B
Diff

--- a/libretroshare/src/util/rsdir.cc
+++ b/libretroshare/src/util/rsdir.cc
@@ -47,6 +47,7 @@
#include <fstream>
#include <stdexcept>
+#include <filesystem>
#if defined(WIN32) || defined(__CYGWIN__)
#include "util/rsstring.h"
--- a/retroshare-gui/src/gui/statistics/Histogram.h
+++ b/retroshare-gui/src/gui/statistics/Histogram.h
@@ -18,6 +18,7 @@
* *
*******************************************************************************/
+#include <cstdint>
#include <vector>
#include <iostream>