$OpenBSD: patch-util_c,v 1.1 2021/02/22 21:56:25 sthen Exp $

Index: util.c
--- util.c.orig
+++ util.c
@@ -402,7 +402,7 @@ int is_absolute(const char *path)
 
 int PortableMkDir(const char *path,int mode)
 {
-#if defined(__linux__)
+#if defined(__linux__) || defined(__OpenBSD__)
 	int mkerror=mkdir(path,mode);
 #else //mingw
 	(void)mode;
