--- old/src/share/vm/utilities/globalDefinitions_gcc.hpp 2010-11-16 18:22:24.000000000 +0100 +++ new/src/share/vm/utilities/globalDefinitions_gcc.hpp 2010-11-16 18:22:24.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -22,6 +22,11 @@ * */ +#ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP +#define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP + +#include "prims/jni.h" + // This file holds compiler-dependent includes, // globally used constants & types, class (forward) // declarations and a few frequently used utility functions. @@ -289,3 +294,5 @@ # undef offsetof #endif #define offsetof(klass,field) offset_of(klass,field) + +#endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP