<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- lib/ifdentry.hpp.orig	2017-07-01 22:18:47.000000000 -0700
+++ lib/ifdentry.hpp	2017-07-01 22:22:24.000000000 -0700
@@ -38,6 +38,22 @@
 #include "rawcontainer.hpp"
 #include "ifd.hpp"
 
+#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) &amp;&amp; __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ &lt; 1070
+extern "C" {
+    static size_t
+    strnlen(const char *s, size_t maxlen)
+    {
+        size_t len;
+
+        for (len = 0; len &lt; maxlen; len++, s++) {
+            if (!*s)
+                break;
+        }
+        return (len);
+    }
+}
+#endif
+
 namespace OpenRaw {
 
 class MetaValue;
</pre></body></html>