aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/runtime/globals_extension.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/runtime/globals_extension.hpp')
-rw-r--r--src/share/vm/runtime/globals_extension.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/share/vm/runtime/globals_extension.hpp b/src/share/vm/runtime/globals_extension.hpp
index 62513f0e2..c51ede0e7 100644
--- a/src/share/vm/runtime/globals_extension.hpp
+++ b/src/share/vm/runtime/globals_extension.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 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,12 @@
*
*/
+#ifndef SHARE_VM_RUNTIME_GLOBALS_EXTENSION_HPP
+#define SHARE_VM_RUNTIME_GLOBALS_EXTENSION_HPP
+
+#include "runtime/globals.hpp"
+#include "utilities/top.hpp"
+
// Construct enum of Flag_<cmdline-arg> constants.
// Parens left off in the following for the enum decl below.
@@ -213,3 +219,5 @@ class CommandLineFlagsEx : CommandLineFlags {
static bool is_ergo(CommandLineFlag flag);
static bool is_cmdline(CommandLineFlag flag);
};
+
+#endif // SHARE_VM_RUNTIME_GLOBALS_EXTENSION_HPP