$OpenBSD: patch-storage_connect_reldef_cpp,v 1.14 2020/01/29 02:16:43 sthen Exp $

Index: storage/connect/reldef.cpp
--- storage/connect/reldef.cpp.orig
+++ storage/connect/reldef.cpp
@@ -664,6 +664,10 @@ PTABDEF OEMDEF::GetXdef(PGLOBAL g)
 #else   // !__WIN__
   const char *error = NULL;
 
+#ifndef RTLD_NOLOAD
+#define RTLD_NOLOAD 0
+#endif
+
 #if 0  // Don't know what all this stuff does
   Dl_info dl_info;
 
