changeset 2120:7485f1770f80

Use sys/exec_elf.h for OpenBSD
author kurt
date Mon, 31 Jan 2011 18:19:33 -0500
parents 1036eb0a0543
children a6225ee372e5
files src/share/vm/utilities/elfFile.hpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/elfFile.hpp	Mon Jan 31 18:18:48 2011 -0500
+++ b/src/share/vm/utilities/elfFile.hpp	Mon Jan 31 18:19:33 2011 -0500
@@ -29,6 +29,8 @@
 
 #ifdef __APPLE__
 #include "elf.hpp"
+#elif defined(__OpenBSD__)
+#include <sys/exec_elf.h>
 #else
 #include <elf.h>
 #endif