$OpenBSD: patch-src_http_cpp,v 1.4 2019/02/14 16:03:34 jca Exp $
Index: src/http.cpp
--- src/http.cpp.orig
+++ src/http.cpp
@@ -41,6 +41,7 @@
 #include <time.h>
 #include <sys/stat.h>
 #include <string.h>
+#include <cerrno>
 
 #ifdef  _MSC_VER
 #pragma message("Using exiv2 http support")
