$OpenBSD: patch-src_main_print-olympus_c,v 1.4 2018/04/11 07:41:51 ajacoutot Exp $

Index: src/main/print-olympus.c
--- src/main/print-olympus.c.orig
+++ src/main/print-olympus.c
@@ -45,6 +45,16 @@
 //#define S6145_YMC
 //#define CANONSELPHYNEO_CMY
 
+#ifndef __BYTE_ORDER
+#define __BYTE_ORDER _BYTE_ORDER
+#endif
+#ifndef __BIG_ENDIAN
+#define __BIG_ENDIAN _BIG_ENDIAN
+#endif
+#ifndef __LITTLE_ENDIAN
+#define __LITTLE_ENDIAN _LITTLE_ENDIAN
+#endif
+
 #define DYESUB_FEATURE_NONE		 0x00000000
 #define DYESUB_FEATURE_FULL_WIDTH	 0x00000001
 #define DYESUB_FEATURE_FULL_HEIGHT	 0x00000002
