Blob Blame History Raw
diff -ru pixz-1.0.7.orig/src/endian.c pixz-1.0.7/src/endian.c
--- pixz-1.0.7.orig/src/endian.c	2020-05-25 05:30:21.000000000 +0200
+++ pixz-1.0.7/src/endian.c	2020-08-09 15:50:06.411547650 +0200
@@ -10,12 +10,12 @@
     OSWriteLittleInt64(d, 0, n);
 }
 
-#elif defined(__linux__) || defined(__FreeBSD__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__midipix__)
 
 #include "config.h"
 #include <stdint.h>
 #include <string.h>
-#ifdef __linux__
+#if defined(__linux__) || defined(__midipix__)
 	#include <endian.h>
 	#include <byteswap.h>
 #else