Skip to content

Commit e665618

Browse files
committed
Guard linux specific include.
1 parent 5b1030b commit e665618

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
#include "utilities/globalDefinitions.hpp"
2929
#include "utilities/powerOfTwo.hpp"
3030

31+
#ifdef LINUX
3132
#include <sys/mman.h>
33+
#endif // LINUX
3234

3335
//
3436
// The heap can have three different layouts, depending on the max heap size.

0 commit comments

Comments
 (0)