more ENDIAN fixes
#define HCXP_JOHN '4'
#define HCXP_HELP 'h'
#define HCXP_VERSION 'v'
+
+#ifdef __BYTE_ORDER__
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define BIG_ENDIAN_HOST
+#endif
+#else
+#ifdef __OpenBSD__
+# include <endian.h>
+# if BYTE_ORDER == BIG_ENDIAN
+# define BIG_ENDIAN_HOST
+# endif
+#endif
+#endif
