Skip to content

Commit

Permalink
Fix some include warnings in JITServer
Browse files Browse the repository at this point in the history
These headers mention certain types but do not include the relevant
headers for them. This does not yet cause a compilation error because
all of their use sites are coincidentally only after those headers have
been included.

Signed-off-by: Christian Despres <[email protected]>
  • Loading branch information
cjjdespres committed Nov 29, 2024
1 parent c0c4793 commit c21f5ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions runtime/compiler/env/J9KnownObjectTable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ namespace J9 { typedef J9::KnownObjectTable KnownObjectTableConnector; }
#include "infra/Array.hpp"
#include "infra/BitVector.hpp"
#if defined(J9VM_OPT_JITSERVER)
#include <string>
#include <tuple>
#include <vector>
#endif /* defined(J9VM_OPT_JITSERVER) */
Expand Down
3 changes: 2 additions & 1 deletion runtime/compiler/net/CommunicationStream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
#define COMMUNICATION_STREAM_H

#include <unistd.h>
#include "infra/Statistics.hpp"
#include "net/LoadSSLLibs.hpp"
#include "net/Message.hpp"
#include "infra/Statistics.hpp"
#include "net/StreamExceptions.hpp"
#include "env/VerboseLog.hpp"
#include "control/MethodToBeCompiled.hpp"

Expand Down
3 changes: 2 additions & 1 deletion runtime/compiler/runtime/JITServerAOTDeserializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
#ifndef JITSERVER_AOT_DESERIALIZER_H
#define JITSERVER_AOT_DESERIALIZER_H

#include "env/TRMemory.hpp"
#include "env/PersistentCollections.hpp"
#include "env/SystemSegmentProvider.hpp"
#include "env/TRMemory.hpp"
#include "runtime/JITServerAOTSerializationRecords.hpp"

class TR_PersistentClassLoaderTable;
Expand Down

0 comments on commit c21f5ee

Please sign in to comment.