Add missing #include <cstdint>

* GCC 15 has reduced transitive dependencies between headers.

Bug: https://bugs.gentoo.org/939856
This commit is contained in:
David Seifert 2024-11-02 09:55:15 +01:00
parent 274c033bab
commit c06bc18dc4
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
38 changed files with 36 additions and 2 deletions

View File

@ -2,6 +2,7 @@
#include <kvp-frame.hpp>
#include <libguile.h>
#include <numeric>
#include <cstdint>
#include <config.h>

View File

@ -25,6 +25,7 @@
#include "gnc-option-gtk-ui.hpp"
#include <config.h> // for scanf format string
#include <memory>
#include <cstdint>
#include <qof.h>
#include <gnc-engine.h> // for GNC_MOD_GUI
#include <gnc-commodity.h> // for GNC_COMMODITY

View File

@ -26,6 +26,7 @@
// GoogleTest is written in C++, however, the function we test in C.
#include "../gnc-autoclear.h"
#include <memory>
#include <cstdint>
#include <Account.h>
#include <Split.h>
#include <gtest/gtest.h>

View File

@ -51,6 +51,7 @@
#endif
#include <fcntl.h>
#include <unistd.h>
#include <stdint.h>
#include "dialog-utils.h"
#include "assistant-ab-initial.h"

View File

@ -31,6 +31,7 @@
#include <config.h>
#include <ctype.h>
#include <stdint.h>
#include <glib/gi18n.h>
#include <gwenhywfar/gui_be.h>
#include <gwenhywfar/inherit.h>

View File

@ -34,6 +34,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <stdlib.h>
#include <cstdint>
#include "gnc-ui.h"
#include "gnc-uri-utils.h"

View File

@ -36,6 +36,7 @@
#include <glib/gi18n.h>
#include <stdexcept>
#include <stdlib.h>
#include <cstdint>
#include "gnc-path.h"
#include "gnc-ui.h"

View File

@ -33,6 +33,7 @@
#include <sstream>
#include <string>
#include <vector>
#include <cstdint>
#include <config.h>

View File

@ -33,6 +33,7 @@
#include <sstream>
#include <string>
#include <vector>
#include <cstdint>
#include <config.h>

View File

@ -35,6 +35,7 @@
#include <string>
#include <vector>
#include <optional>
#include <cstdint>
#include <gnc-datetime.hpp>
#include "gnc-tokenizer.hpp"

View File

@ -38,6 +38,7 @@
#include <map>
#include <memory>
#include <optional>
#include <cstdint>
#include "gnc-tokenizer.hpp"
#include "gnc-imp-props-price.hpp"

View File

@ -39,6 +39,7 @@
#include <map>
#include <memory>
#include <optional>
#include <cstdint>
#include "gnc-tokenizer.hpp"
#include "gnc-imp-props-tx.hpp"

View File

@ -43,6 +43,7 @@
#include <fstream> // fstream
#include <vector>
#include <string>
#include <cstdint>
#include "gnc-tokenizer.hpp"
class GncFwTokenizer : public GncTokenizer

View File

@ -23,6 +23,7 @@
#include <config.h>
#include <stdlib.h>
#include <cstdint>
#include "gnc-ui-util.h"
#include "gnc-numeric.h"

View File

@ -26,6 +26,7 @@
#define __GNC_DBISQLBACKEND_HPP__
#include <optional>
#include <cstdint>
#include "gnc-backend-dbi.h"
#include <gnc-sql-result.hpp>

View File

@ -39,6 +39,7 @@
#include <string>
#include <sstream>
#include <cstdint>
#include "gnc-sql-connection.hpp"
#include "gnc-sql-backend.hpp"

View File

@ -25,6 +25,7 @@
#include <qof.h>
#include <sstream>
#include <iomanip>
#include <cstdint>
#include <gnc-datetime.hpp>
#include "gnc-sql-backend.hpp"
#include "gnc-sql-object-backend.hpp"

View File

@ -23,6 +23,7 @@
#include <glib.h>
#include <config.h>
#include <cstdint>
#include <string.h>
#include <unittest-support.h>
/* Add specific headers for this class */

View File

@ -44,6 +44,7 @@
#endif
#include <zlib.h>
#include <errno.h>
#include <cstdint>
#include "gnc-engine.h"
#include "gnc-pricedb-p.h"

View File

@ -27,6 +27,7 @@
#include <config.h>
#include <gnc-date.h>
#include <cstdint>
#include "gnc-xml-helper.h"
#include "sixtp-dom-generators.h"

View File

@ -27,6 +27,7 @@
#include <iostream>
#include <locale>
#include <typeinfo> // For std::bad_cast exception
#include <cstdint>
#include "gnc-rational-rounding.hpp"
class GncRational;

View File

@ -50,6 +50,7 @@
#include <variant>
#include <iostream>
#include <limits>
#include <cstdint>
#include "gnc-option-uitype.hpp"

View File

@ -42,6 +42,7 @@
#include <variant>
#include <memory>
#include <tuple>
#include <cstdint>
#include "gnc-option-ui.hpp"
#include "gnc-option-date.hpp"
#include "guid.hpp"

View File

@ -38,6 +38,7 @@
#include <exception>
#include <optional>
#include <iostream>
#include <cstdint>
#include <config.h>
#include "Account.h"

View File

@ -21,6 +21,7 @@
*******************************************************************/
#include <sstream>
#include <cstdint>
#include "gnc-rational.hpp"
#include "gnc-numeric.hpp"

View File

@ -29,7 +29,6 @@
#include <config.h>
#include <stdint.h>
#include <inttypes.h>
#include <glib.h>
#include <glib/gi18n.h>

View File

@ -27,6 +27,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <cstdint>
#include "kvp-value.hpp"
#include "kvp-frame.hpp"

View File

@ -27,6 +27,7 @@
#include <config.h>
#include "qof.h"
#include <cstdint>
#include <boost/variant.hpp>
//Must be a struct because it's exposed to C so that it can in turn be

View File

@ -33,6 +33,7 @@
#include <config.h>
#include <glib.h>
#include <cstdint>
#include <utility>
#include "qof.h"
#include "qofbook-p.h"

View File

@ -47,7 +47,6 @@
#include <fcntl.h>
#include <glib.h>
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>

View File

@ -22,6 +22,7 @@
*******************************************************************/
#include <gtest/gtest.h>
#include <cstdint>
#include "../gnc-int128.hpp"
TEST(GncInt128_constructors, test_default_constructor)

View File

@ -21,6 +21,7 @@
\********************************************************************/
#include <gtest/gtest.h>
#include <cstdint>
#include "../gnc-numeric.hpp"
#include "../gnc-rational.hpp"

View File

@ -33,6 +33,7 @@
#include "gnc-commodity.h"
#include "gnc-date.h"
#include <time.h>
#include <cstdint>
#include "gnc-session.h"
TEST(GncOption, test_string_ctor)

View File

@ -27,6 +27,7 @@
#include "gnc-option-ui.hpp"
#include "kvp-value.hpp"
#include <glib-2.0/glib.h>
#include <cstdint>
#include "gnc-session.h"

View File

@ -23,6 +23,7 @@
#include <gtest/gtest.h>
#include <random>
#include <cstdint>
#include "../gnc-rational.hpp"
#include "../gnc-numeric.hpp" //for RoundType

View File

@ -28,6 +28,7 @@
#include <kvp-frame.hpp>
#include <gtest/gtest.h>
#include <string>
#include <cstdint>
class ImapTest : public testing::Test
{

View File

@ -27,6 +27,7 @@
#include "../kvp-frame.hpp"
#include <gtest/gtest.h>
#include <algorithm>
#include <cstdint>
class KvpFrameTest : public ::testing::Test
{

View File

@ -28,6 +28,7 @@
#include "../kvp-frame.hpp"
#include "../gnc-date.h"
#include <memory>
#include <cstdint>
#include <gtest/gtest.h>
TEST (KvpValueTest, Equality)