$OpenBSD: patch-include_libtorrent_config_hpp,v 1.2 2019/04/30 16:45:26 tj Exp $
Index: include/libtorrent/config.hpp
--- include/libtorrent/config.hpp.orig
+++ include/libtorrent/config.hpp
@@ -562,6 +562,10 @@ int snprintf(char* buf, int len, char const* fmt, ...)
 #define TORRENT_USE_UNC_PATHS 0
 #endif
 
+#if defined(__OpenBSD__)
+#define TORRENT_USE_RLIMIT 0
+#endif
+
 #ifndef TORRENT_USE_RLIMIT
 #define TORRENT_USE_RLIMIT 1
 #endif
