Skip to content

Commit

Permalink
Guard linux specific include.
Browse files Browse the repository at this point in the history
  • Loading branch information
mychris committed Sep 7, 2020
1 parent 5b1030b commit e665618
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
#include "utilities/globalDefinitions.hpp"
#include "utilities/powerOfTwo.hpp"

#ifdef LINUX
#include <sys/mman.h>
#endif // LINUX

//
// The heap can have three different layouts, depending on the max heap size.
Expand Down

0 comments on commit e665618

Please sign in to comment.