Skip to content

Commit 7126694

Browse files
authored
Add necessary #include <> of system headers so that files can be compiled separately (#1279)
1 parent a2b3aa4 commit 7126694

File tree

94 files changed

+207
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+207
-0
lines changed

src/sst/core/baseComponent.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@
2727
#include "sst/core/statapi/statengine.h"
2828
#include "sst/core/warnmacros.h"
2929

30+
#include <functional>
3031
#include <map>
3132
#include <string>
33+
#include <vector>
3234

3335
using namespace SST::Statistics;
3436

src/sst/core/bootsst.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "sst/core/bootshared.h"
1515
#include "sst/core/configShared.h"
1616

17+
#include <cstdio>
1718
#include <cstdlib>
1819
#include <cstring>
1920
#include <memory>

src/sst/core/cfgoutput/dotConfigOutput.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include "sst/core/configGraph.h"
1717
#include "sst/core/configGraphOutput.h"
1818

19+
#include <cstdint>
20+
1921
namespace SST::Core {
2022

2123
class DotConfigGraphOutput : public ConfigGraphOutput

src/sst/core/cfgoutput/pythonConfigOutput.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
#include "sst/core/configGraph.h"
1717
#include "sst/core/configGraphOutput.h"
1818

19+
#include <cstddef>
1920
#include <map>
21+
#include <string>
2022

2123
namespace SST::Core {
2224

src/sst/core/cfgoutput/xmlConfigOutput.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include "sst/core/configGraph.h"
1717
#include "sst/core/configGraphOutput.h"
1818

19+
#include <string>
20+
1921
namespace SST::Core {
2022

2123
class XMLConfigGraphOutput : public ConfigGraphOutput

src/sst/core/checkpointAction.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
#include "sst/core/sst_types.h"
2121
#include "sst/core/threadsafe.h"
2222

23+
#include <cstdint>
2324
#include <set>
25+
#include <string>
2426

2527
namespace SST {
2628

src/sst/core/clock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "sst/core/ssthandler.h"
1717

1818
#include <cinttypes>
19+
#include <string>
1920
#include <vector>
2021

2122
#define _CLE_DBG(fmt, args...) __DBG(DBG_CLOCK, Clock, fmt, ##args)

src/sst/core/configBase.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "sst/core/warnmacros.h"
1919

2020
#include <cstdlib>
21+
#include <cstring>
2122
#include <getopt.h>
2223
#include <iostream>
2324
#include <memory>

src/sst/core/configGraph.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@
2424
#include "sst/core/unitAlgebra.h"
2525

2626
#include <climits>
27+
#include <cstddef>
28+
#include <cstdint>
2729
#include <map>
30+
#include <ostream>
2831
#include <set>
32+
#include <string>
2933
#include <vector>
3034

3135
using namespace SST::Statistics;

src/sst/core/configGraphOutput.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
#include "sst/core/util/filesystem.h"
1818

1919
#include <cstdio>
20+
#include <cstdlib>
21+
#include <cstring>
2022
#include <exception>
23+
#include <map>
24+
#include <string>
25+
#include <vector>
2126

2227
namespace SST {
2328
class ConfigGraph;

0 commit comments

Comments
 (0)