$OpenBSD: patch-Ghidra_Features_Decompiler_src_decompile_cpp_types_h,v 1.1 2019/07/23 02:09:20 lteo Exp $

From https://github.com/NationalSecurityAgency/ghidra/pull/490

Index: Ghidra/Features/Decompiler/src/decompile/cpp/types.h
--- Ghidra/Features/Decompiler/src/decompile/cpp/types.h.orig
+++ Ghidra/Features/Decompiler/src/decompile/cpp/types.h
@@ -86,7 +86,8 @@ typedef char int1;
 typedef uint4 uintp;
 #endif
 
-#if defined (__linux__) && defined (__x86_64__)
+#if defined (__linux__) && defined (__x86_64__) || \
+    (defined (__OpenBSD__) && defined (__x86_64__))
 #define HOST_ENDIAN 0
 typedef unsigned int uintm;
 typedef int intm;
