summaryrefslogtreecommitdiffhomepage
path: root/patches/pixz-1.0.7.local.patch
blob: f1d74a95a63dd6cedc5629ec0f8b8d6e4bf07cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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