$NetBSD: patch-ac,v 1.2 2000/08/06 14:45:05 wiz Exp $

--- Z80.h.orig	Thu Aug  3 18:56:00 2000
+++ Z80.h	Sun Aug  6 15:25:54 2000
@@ -46,6 +46,15 @@
 #endif
 typedef signed char offset;
 
+#include <sys/endian.h>
+#if (_BYTE_ORDER == _LITTLE_ENDIAN)
+#define LSB_FIRST
+#elif (_BYTE_ORDER == _BIG_ENDIAN)
+#define MSB_FIRST
+#else
+#warn Check if your machine is big endian or not and define as appropriate one.
+#endif
+
 /** Structured Datatypes *************************************/
 /** NOTICE: #define LSB_FIRST for machines where least      **/
 /**         signifcant byte goes first.                     **/