Skip to content

Commit

Permalink
ifdef linux header
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelUrankar authored and battleblow committed May 6, 2019
1 parent f8982c8 commit d26708e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
#include "opto/runtime.hpp"
#endif

#ifndef _ALLBSD_SOURCE
#include <alloca.h>
#endif

#define __ masm->

Expand Down
2 changes: 2 additions & 0 deletions src/hotspot/cpu/ppc/vm_version_ppc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
#include "utilities/globalDefinitions.hpp"
#include "vm_version_ppc.hpp"

#ifndef _ALLBSD_SOURCE
#include <sys/sysinfo.h>
#endif

#if defined(LINUX) && defined(VM_LITTLE_ENDIAN)
#include <sys/auxv.h>
Expand Down

0 comments on commit d26708e

Please sign in to comment.