$OpenBSD: patch-src_http_cpp,v 1.2 2018/04/05 21:21:52 rsadowski 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")
