<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- lib/mrwfile.cpp.orig	2023-06-28 08:40:14.000000000 -0400
+++ lib/mrwfile.cpp	2023-06-28 08:54:24.000000000 -0400
@@ -26,6 +26,9 @@
 #include &lt;string&gt;
 #include &lt;memory&gt;
 
+#include &lt;machine/endian.h&gt;
+#define be16toh(x) ntohs(x)
+
 #include &lt;libopenraw/cameraids.h&gt;
 #include &lt;libopenraw/debug.h&gt;
 
--- lib/peffile.cpp.orig	2023-06-28 08:40:22.000000000 -0400
+++ lib/peffile.cpp	2023-06-28 08:55:07.000000000 -0400
@@ -21,6 +21,9 @@
 
 #include &lt;libopenraw/cameraids.h&gt;
 
+#include &lt;machine/endian.h&gt;
+#define be16toh(x) ntohs(x)
+
 #include "rawdata.hpp"
 #include "ifd.hpp"
 #include "ifdfilecontainer.hpp"
</pre></body></html>