Skip to content

Commit

Permalink
Merge pull request #20424 from mpirvu/protectincludes
Browse files Browse the repository at this point in the history
Protect <string>/<vector> includes with #ifdef
  • Loading branch information
pshipton authored Oct 28, 2024
2 parents 5cc771c + 1acd1d6 commit 0e6e83c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/compiler/control/rossa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#if defined(J9VM_OPT_JITSERVER)
#include <vector>
#include <string>
#endif /* defined(J9VM_OPT_JITSERVER) */

#ifdef WINDOWS
// Undefine the winsockapi because winsock2 defines it. Removes warnings.
Expand Down

0 comments on commit 0e6e83c

Please sign in to comment.