$OpenBSD$

Index: src/rdposix.h
--- src/rdposix.h.orig
+++ src/rdposix.h
@@ -68,6 +68,11 @@
 #if !defined(__FreeBSD__) && !defined(__OpenBSD__)
 /* alloca(3) is in stdlib on FreeBSD */
 #include <alloca.h>
+#else
+#ifndef __BSD_VISIBLE
+#define __BSD_VISIBLE	1
+#endif
+#include <stdlib.h>
 #endif
 
 #define rd_alloca(N)  alloca(N)
