$OpenBSD: patch-realpath_c,v 1.2 2018/05/17 19:29:36 fcambus Exp $
Index: realpath.c
--- realpath.c.orig
+++ realpath.c
@@ -11,7 +11,7 @@
 #ifndef _MSC_VER
 #include <unistd.h>
 #endif
-#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__)|| defined(__MINT__) || defined(__FreeBSD__)
+#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__)|| defined(__MINT__) || defined(__FreeBSD__) || defined(__OpenBSD__)
 #include <limits.h>
 #endif
 
